Tag: regexp

This guy deserves a beer

Chances are if you are a developer or a sysadmin you had to work with regular expressions. Well I hate them. With passion. So when I discovered this website I was jumping for joy: http://txt2re.com/ Basically you type in your…

Search and replace text in many files

This is a handy one liner that searches and replaces text in multiple files. (You can use find for example to run it in multiple folders) perl -pi -e ‘s/old_text/new_text/g’ *.conf This line replaces old_text with new_text in all the…