Page 1 of 1
Find and copy all
Posted: Sun Feb 06, 2011 9:16 pm
by mcguire89
I can't find it anywhere. If I write a REGEX to find say emails address domains, how can i then find all and copy them for further editing?
Bonus question - Is there a Textpad for dumies guide or manula floating around. I cant find one specific to this program.
Thanks in advance for your help.
Posted: Sun Feb 06, 2011 10:43 pm
by ak47wong
You can use bookmarks to copy all the
lines that contain the string or regular expression you're searching for.
In the
Find dialog, click
Mark All. Then click
Edit > Copy Other > Bookmarked lines.
If you want just the matched expression itself, you can paste the lines into a new document and perform another Replace operation to remove any extraneous text on each line.
For information about regular expressions, see
this post by ben_josephs.
Posted: Sun Feb 06, 2011 11:17 pm
by mcguire89
The copy bookmarked lines I know..
I didn't know about the REGEX to delete all but target. I'll have to experiment with it, but it might be just what I am looking for.
thanks