Quote:
Originally Posted by elegant
Could someone explain how the above works?
Quote:
1 - Search and replace "$" with one space
2 - Search and replace ".*$" with "&\n"
|
I want to remove progressive page numbers.
|
The above doesn't work.
For several reasons:
1. You have to switch "Regular expressions" option ON for this to work.
2. Step one searches for all "end of paragraph" marks, that are in OpenOffice represented by regular expression $ and replaces that "end of paragraph" with a space. Step 2 searches for all "end of paragraph" marks preceded by dot. But there are NO "end of paragraph" characters anymore, because you have replaced all of those in step one.
Post an example of how the text you need to process looks and I will try to construct a regular expression that will delete all page numbers (and *only* page numbers ;-) )