Remove all content of multiple txt files

Tool for Search and Replace across multiple files.

Remove all content of multiple txt files

Postby superska » Tue Dec 20, 2016 11:41 pm

Hi all,
I just want to clear the content of multiple txt files and replace with blank lines or even nothing
I don't how how to tell "everything" in "Find"
Can you help me ?
Thank you.
superska
 
Posts: 1
Joined: Tue Dec 20, 2016 11:39 pm

Re: Remove all content of multiple txt files

Postby DigitalVolcano » Wed Dec 21, 2016 11:21 am

You can use this Regular Expression:

Code: Select all
[\s\S]*


This will match everything in the file and you can replace with nothing. Use with care!
User avatar
DigitalVolcano
Site Admin
 
Posts: 884
Joined: Thu Jun 09, 2011 10:04 am


Who is online

Users browsing this forum: No registered users and 3 guests