perl -i.bak -ne "s!(\d{2}/\d{2}/\d{4})!'$1!g" myfile
In reply to Re: How do I put an apostrophe in front of every date in a file?
by zejames
in thread How do I put an apostrophe in front of every date in a file?
by willa
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |