Search found 3 matches

by D1Knauer
Wed Aug 20, 2014 2:46 pm
Forum: Regular Expressions (Archived)
Topic: Batch with serveral find/replace actions
Replies: 1
Views: 12445

Batch with serveral find/replace actions

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 ...
by D1Knauer
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
by D1Knauer
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 ...