I'm trying to use grep to find a lowercase letter following :\d+\s, but am having issues... when I use (?<=:\d\s)[\l] I find all the cases where there is a single number - ":1 a", ":3 z" etc,
but when I use (?<=:\d+\s)[\l] no results are returned. I don't understand what is wrong, do you have any ideas?
Lookbehind does not support a variable length argument. You can try this one:
-- untested (it needs a newer ID than I am behind at the moment) but see http://indesignsecrets.com/topic/grep-tricks-more-lookbehind-and-lookahead-examples for more examples.
You can't use + in a lookbehind!
If ID CS6+, try: :\d+\h\K\l
In ID CS5: (?<=:\d\d\s)\l (for 2 numbers), (?<=:\d\d\d\s)\l (for 3 numbers), … Play the game in one click using Multi-Find/Change of Martinho da Gloria! [Just 2015 updated]
In the first case: (?<=:\d\s)\l is enough but I prefer: (?<=:\d\h)\l in ID CS6+
thanks very much!