Page 1 of 1

impossible matching?

Posted: Wed Sep 04, 2002 6:45 pm
by Karen
Here's my scenario....I receive raw data files that I manipulate in Textpad with several regular expressions in macros and a few manual checks. One of the things I have to verify is that the file name is the same as a field inside the data file (it's in a specific area with a specific label). This is currently a manual process, is there anyway to automate this using regular expressions?? Even if it can't be checked can the file name be pasted into the file some way thru RE?

Thanks....

Re: impossible matching?

Posted: Wed Sep 04, 2002 9:37 pm
by Ed
You can insert the filename by Edit->Insert->"File Name"
You can replace text with the current clipboard (regex \p)
So these could be combined into a macro