|Replacing using regexes
Replacing with backreferences
- Instead of m// , use
- s/FSC/Follett Software Company/;
would spell out FSC.
- s/(Chuck|Charles) (E\.
)?Follett/Tom Schenck/i; changes a number of variations on
Chuck's name to Tom's. The /i
makes it case-insensitive in the match.
- The replacement part of a regex can contain references to the search
dates in the form "mm-dd-yyyy" to "yyyymmdd" for sorting.