[ Thanks to Amy Newman for this link. ]
“A strong understanding of regular expressions is a
very good thing for folks who spend much time doing system
administration, programming or just a great deal of computer use in
general. If regexes are not your strong suit, or you want to
provide a tool for other users who are weak with regexes, then
txt2regex might be a good tool to have handy.“What is txt2regex? It’s a shell script that uses Bash’s
built-in commands to provide a text-based wizard to create regular
expressions. You can grab the script from SourceForge or (on some
Linux distros) just install the txt2regex package. I’d recommend
grabbing the package if your distro has it, as the package comes
with a man page in addition to the script itself.”