C
cibalo
Hello,
I have migrated my free website to my linux web server recently. I
have to re-code all my htm files, of which they were created under
Windows.
I need to make a search and replace with Perl One-liner. I want to
search/replace backward slash to forward slash only in the relative
image path for all <img> tags, which may span over multiple lines.
So the <img> tag may like this:
<html>
<body>
<img src="public_html\images\Buster.jpg" height="250" width="128"
alt=" /\ See above"
title=" /\
See above" />
</body>
</html>
Sadly I haven't done RegEx searching in a while now. I'd be very
thankful for some help.
Thank you very much in advance!!!
Best Regards,
cibalo
I have migrated my free website to my linux web server recently. I
have to re-code all my htm files, of which they were created under
Windows.
I need to make a search and replace with Perl One-liner. I want to
search/replace backward slash to forward slash only in the relative
image path for all <img> tags, which may span over multiple lines.
So the <img> tag may like this:
<html>
<body>
<img src="public_html\images\Buster.jpg" height="250" width="128"
alt=" /\ See above"
title=" /\
See above" />
</body>
</html>
Sadly I haven't done RegEx searching in a while now. I'd be very
thankful for some help.
Thank you very much in advance!!!
Best Regards,
cibalo