Perl.
Seriously, it makes sysadmin stuff so much easier. Here’s an example:
perl -pi -e 's/something/somethingelse/g' *.log
More Related Contents:
- Replace single backslash in R
- What flavor of Regex does Visual Studio Code use?
- powershell: how to escape all regex characters from a string
- Regular expression search replace in Sublime Text 2
- Regex Until But Not Including
- How to replace the first occurrence of a regular expression in Python?
- how to use a regular expression to extract json fields?
- How do I perform a Perl substitution on a string while keeping the original?
- Replace a word with multiple lines using sed?
- How to search and replace with a counter-based expression in Vim?
- Eclipse, regular expression search and replace
- Eliminate newlines in google app script using regex
- How to replace only part of found text?
- Create regex from glob expression
- Regular expression to remove special characters in JSTL tags
- How to use different separators (/ , |) in a regular expression
- Regex for PascalCased words (aka camelCased with leading uppercase letter)
- Regex code for 2 words that start with the same letter
- What is a non-capturing group in regular expressions?
- Regular expression to match DNS hostname or IP Address?
- Replace multiple strings with multiple other strings
- Regular expression to find URLs within a string
- How can I recognize an evil regex?
- Using regexes, how to efficiently match strings between double quotes with embedded double quotes?
- RegEx for both, integer and float [closed]
- Using positive-lookahead (?=regex) with re2
- JavaScript: split doesn’t work in IE?
- Overlapping matches in R
- Regex Letters, Numbers, Dashes, and Underscores
- What’s the regex to match anything except a double quote not preceded by a backslash?