Hi, I need to insert the name of the file in a certain spot in hundreds of .txt files.
For a start I need it placed at the beginning of each file: \A
Is there some way of substituting \A with some expression that will insert the filename?
Thank you.
Insert filename in each text file
-
- Posts: 2
- Joined: Fri Dec 27, 2013 9:23 pm
Re: Insert filename in each text file
I just found an negative answer from 2011 in the RegEx forum:
Does it still apply?Postby DV » Thu Apr 14, 2011 8:32 pm
Sorry- no way to use the filename in the replace expression at the minute.
Something to consider for future versions though. Thanks!
- DigitalVolcano
- Site Admin
- Posts: 1866
- Joined: Thu Jun 09, 2011 10:04 am
Re: Insert filename in each text file
This feature is not currently implemented - It is on the wishlist though, and under consideration for version 3.