The standard find/replace for a single action works for every case:
for example find # and replace with *
or: find <!--#** and replace <!--***
But how could I write more than one action in a batch file?
It has to run serialized: first search through all files for the first command and replace it ...
Search found 3 matches
- Wed Aug 20, 2014 2:46 pm
- Forum: Regular Expressions (Archived)
- Topic: Batch with serveral find/replace actions
- Replies: 1
- Views: 12445
- Thu Jul 31, 2014 4:07 pm
- Forum: Regular Expressions (Archived)
- Topic: Need help on Batch 2 (find/replace)
- Replies: 2
- Views: 14013
Re: Need help on Batch 2 (find/replace)
That's it. I guess it should be easy - but you have to know it.
Thanks a lot!
Dieter
Thanks a lot!
Dieter
- Mon Jul 21, 2014 3:33 pm
- Forum: Regular Expressions (Archived)
- Topic: Need help on Batch 2 (find/replace)
- Replies: 2
- Views: 14013
Need help on Batch 2 (find/replace)
The standard "find and replace" is no problem.
However, when I tried to do it with a Batch file and a more complicated string search, it doesn't work.
The task should be:
Find in a *.html-file segment an expression that begins with:
<div id="nav">
...and ends with:
</div> <!--end tag nav ...
However, when I tried to do it with a Batch file and a more complicated string search, it doesn't work.
The task should be:
Find in a *.html-file segment an expression that begins with:
<div id="nav">
...and ends with:
</div> <!--end tag nav ...