I'm trying to fashion a GREP search that finds an word in all caps, followed by a a space and then a word in U&lc or a digit. Then replace the space with a hard return.
TEXT DESIGN Marijka Kostiw
However, sometimes I need to change something like this:
TEXT STOCK 150GSM MUNKEN PRINT CREAM
150GSM MUNKEN PRINT CREAM
This search/replace works if the initial uppercase word is followed by an U&lc word, but not if it is followed by a digit:
Find: (\u+) (\u\l)
I'm having a tough time figuring out how to use the pipe to say "uppercase character followed by lowercase character or digit."
Can anyone offer any advice?
That would be
The pipe OR matches either the full left or the right expression; if the OR itself is inside a parenthesized group, only what's inside them is considered.