I'm attempting to automatically format portions of a significantly sized document. For one, I'm attempting to apply Heading 1 to all headings in the format of:
1.1 Heading 1
and Heading 2 to:
1.1.1 Heading 2
For Heading 1, I used the following expression in the Find What box:
The issue with the expression is that it also selects the preceding newline. The preceeding newline is required so mentions of the numbers within the text are not also selected. I'm ending up with all of the preceeding lines becoming Heading's too!
Is it possible to do a reg-ex style selecting text using the expression above preceeded by a newline, without selecting the newline itself?