Search found 3 matches

by frankm
Mon Aug 20, 2007 12:28 am
Forum: Advanced Find and Replace
Topic: Deleting last line in files
Replies: 3
Views: 12745

Re: Deleting last line in files

Thank you Roman - that works great. :D
by frankm
Sun Aug 19, 2007 1:37 am
Forum: Advanced Find and Replace
Topic: Deleting last line in files
Replies: 3
Views: 12745

Deleting last line in files

I'm sure this is easy but I can't figure out how to do it.

I want to use AFR to delete the last line of a few thousand text files but I don't know what regular expression to use to select the last line - the last lines don't necessarily end with line breaks.

Thanks
by frankm
Fri Mar 02, 2007 1:19 am
Forum: Advanced Find and Replace
Topic: Surrounding the first line of text with delimiters
Replies: 1
Views: 8991

Surrounding the first line of text with delimiters

I'm sure this is probably easy for someone who is an expert in regular expressions....unfortunately, I'm not. I have about 1,000 text files in a folder. I want to surround the first line of text only in each file with the following delimiters #TITLE# and #/TITLE# e.g. if the first line of a text fil...