perl -i.bak -n -e 's/img src=\"image\.gif\"/img src=\"\/Images\/image\.gif\"/g' file.html
cheers,
Don
striving for Perl Adept
(it's pronounced "why-bick")
In reply to in-place edit, regex, one-liner by ybiC
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |