So much to learn... Thank you for your help @dbenham ! I will work through your suggestions and report back if I run into more troublethere really isn't much need for JREPL.BAT for such a simple task. You can use FINDSTR
Search found 4 matches
- 23 Mar 2018 10:03
- Forum: DOS Batch Forum
- Topic: Help with find and replace with wildcards in text file
- Replies: 4
- Views: 6356
Re: Help with find and replace with wildcards in text file
- 21 Mar 2018 14:41
- Forum: DOS Batch Forum
- Topic: Help with find and replace with wildcards in text file
- Replies: 4
- Views: 6356
Re: Help with find and replace with wildcards in text file
Got it
Code: Select all
call jrepl "^.*$[\s\S]*DO.NOT.REMOVE" "" /m /f "acad - Copy (2).txt" /o -
- 21 Mar 2018 14:31
- Forum: DOS Batch Forum
- Topic: Help with find and replace with wildcards in text file
- Replies: 4
- Views: 6356
Re: Help with find and replace with wildcards in text file
Woo hoo! Progress. I think I have found it except that I can't kill the first ; at the beginning of the file.
Code: Select all
call jrepl "$[\s\S]*DO.NOT.REMOVE" "" /m /f "acad - Copy (2).txt" /o -
- 21 Mar 2018 12:45
- Forum: DOS Batch Forum
- Topic: Help with find and replace with wildcards in text file
- Replies: 4
- Views: 6356
Help with find and replace with wildcards in text file
Hi, All! I've been trying to do a find and replace from some text files but I'm having trouble. I am using jrepl but I'm new to regular expressions and can't figure out how to get there. I've been reading the jrepl.bat file as well as the msdn page for two days and I think my head is going to pop. C...