Using markers in GREP styles

Learn / Forums / General InDesign Topics / Using markers in GREP styles

Tagged: 

Viewing 2 reply threads
  • Author
    Posts
    • #99129

      Hi all!

      I have a trouble with using a footnote marker (~F) in positive lookbehind, maybe it unrecognizable in such notation?

      ^(?<=~F)\s+

      Here I need to select only white space characters after footnote marker if it present on the beginning of a paragraph, but this GREP doesn’t work.

      Maybe this marker can be replaced using Unicode?

      Thanks a lot in advance!

    • #99131
      Chad Beery
      Participant

      Try moving the caret before the ~F like this (?<=^~F)\s+ or ^~F\K\s+

    • #99143

      Yes! It works when the caret symbol is inside brackets: (?<=^~F)\s+
      Thank you for your help!

Viewing 2 reply threads
  • You must be logged in to reply to this topic.
>
Notice: We use cookies on our websites to give you a great online experience. If you keep browsing, we'll assume you're ok with this. For more information, see our privacy policy. By closing this banner, you agree to the use of cookies.I AGREENo