Originally Posted by Tharadalf
I am also trying to remove page numbers, which in text look like this:
So I came up with this regexp:
but it is not working for me. What am I doing wrong?
1) use (?mu)before ^ to enable multple line matching. otherwise ^ matches the start of the string.
2) Use \s instead of a space to match new line characters. Also add + to match multiple spaces.