I asked this question to create a GREP style to make the 2 subscript when I typed H2.
I need the GREP to ignore the word H2Van.
I thought to amend the GREP to look for a space after the 2 as well as to look for a
H or any uppercase letter before it. This does work, but if there is punctuation after the H2, then the GREP also ignores it.
How would I amend this GREP to ignore the word H2Van?