View Single Post
 
Old 11-26-2016, 09:25 PM
ewso ewso is offline Windows 10 Office 2016
Advanced Beginner
 
Join Date: Nov 2016
Posts: 80
ewso is on a distinguished road
Default

Quote:
Originally Posted by macropod View Post
Youy could use a wildcard Find/Replace, where:
Find = ([0-9]{1,})[^13^l]([0-9]{1,}[^13^l])
Replace = \1\2
or:
Find = ([!^13]{1,})[^13^l]([!^13]{1,}[^13^l])
Replace = \1\2

The first one will work only on lines/paragraphs containing numbers; the second with any content.

hey, thanks for the help, but the second formula you gave me, which is what I need since I'm not just working with numbers, is only working like this:

1
2
34
5

1
2
34
5

...as you can see, it's only working on every fourth line. Any advice?
Reply With Quote