Page 1 of 1

How to delete characters in body

Posted: Sat Sep 29, 2007 2:00 pm
by bensonlr
I have a large group of .txt files and each one has only one line of text that looks like this.

1534N - There's Peace In Knowing

I want to remove every thing before the title so it will look like this.

There's Peace In Knowing

So, I have tried using the replace with delete and set the mask to * - *.txt

And then use wild characters ??????-?

But nothing gets found.

Help appreciated!

Re: How to delete characters in body

Posted: Sat Sep 29, 2007 6:28 pm
by Abacre
Go to Batch replace tab, check on "Use regular expressions".
Put into the grid, search for:
^.*\s-\s

Replace with:
should be empty.

That's all I verified it works perfectly.