Quickly search and replace string with Regular expression in multiple files using perl
- Tags: matching, multiple files, perl, RE, regular expression, replace
| Hot: |
for i in *; do perl -p -w -e ‘s/a(.*)b.*/d$1e/g’ $i > temp/$i; done
| Hot: |
for i in *; do perl -p -w -e ‘s/a(.*)b.*/d$1e/g’ $i > temp/$i; done
Paste here the URL to shorten: