[GREP] Help find punctuations between brackets
Hi guys,
I'm having difficulties understanding my problem here. If anyone can help, I'll be very thankfull 😉
I would like to find any punctuation between brackets in order to apply a condition on them (via a script). But my grep doesn't work 😕😕
I thought I could modify another grep expression, the following one, that is looking for everything between brackets. This one works fine and I'm using it a lot.
(?<=\().*?(?=\))
If I consider using the posix [[:punct:]], why the following expression doesn't work, what should be done in order to fix it ?
(?<=\()[[:punct:]]*?(?=\))
Thanks for your insight
Example: (need to get the 2 commas between the brackets, but not the one outside)
Hello Indesign folks (men, women, possibly lost aliens), I need your help.
