Copy link to clipboard
Copied
imagine this pattern:
15. October
16. November
17. December
always a two-digit number... a period, space, and a word (month)
how do I find recurrences with grep? I'd like to take advantage of the grep styles.
Individually I can, but how do you say "in addition to the number also find me a point and then a space and then a text"?
I don't understand how to add requests... if I put them below it doesn't work
How about the following
\d{2}.\s\w+
-Manan
Copy link to clipboard
Copied
/d/d./s(January, |February, |March, |April, |May, |Juni, |July)
... is right?
Copy link to clipboard
Copied
Try this
\d\d\.\s(January|February|March|April|May|June|July|August|September|October|November|December)
Bit didn't you get a few days ago an answer for this question?
Copy link to clipboard
Copied
yes I just added the comma and the space to my "big problem". What I found on the grep does not apply literally in indesign. Where can I find examples? They're not that clear on the manual... for example they talk about multi-straight and do not explain the concrete result of this. I found a test for the online grep, but it's not exactly the indesign grep, because it has variations in the syntax. Although the tool is powerful I do not find it very intuitive. For now, I would need examples. If I found a list of examples it would be easier for me.
Copy link to clipboard
Copied
Just google “InDesign grep” and you will find a looooot of resources!
Copy link to clipboard
Copied
If you have a GREP expression and you want to see how ot works, try my WhatTheGrep script: http://www.jongware.com/idgrephelp.html
There are some complicated expressions that befuddle it but for basic expressions it works flawless. It can also point out possible mistakes.
Copy link to clipboard
Copied
How about the following
\d{2}.\s\w+
-Manan
Copy link to clipboard
Copied
beautiful this last intervention and very synthetic - I loved it, but this research also finds the texts "21, 1" while modified so it works: \d{1,}\. \w+