Stuff I don't know, Episode #12,559: regex
Perhaps Pie will swoop in here and save the day, or anyone else whose brain is bigger and prettier than mine...
I have a long text file that contains what are essentially footers/page numbers. I hate them. I've processed the ever living f*ck out of this file, and I can't find a way to say: Please replace all instances of ###<CRLF> with nothing. That is the "page" number which runs from one to three digits, followed by a carriage return. I just want to take them out. Of course the file is full of other numeric data I must conserve. However, there are no lines that have only numbers on them except these ones I want removed.
I have a text editor that can search for extended characters, so the \r\n is working... (I think)... but I don't know how to say one or two or three digits followed by a CR should be replaced with nothing(deleted).
I have tried
Code:
+([0-9][0-9][0-9]}\r\n
failed.
Please help.