Whip Up Regular Expressions With Txt2regex | Linux Today

Whip Up Regular Expressions With Txt2regex

Written By
Web Webster
Web Webster
Jul 12, 2011

[ 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.”


Complete Story

Web Webster

Web Webster

Web Webster has more than 20 years of writing and editorial experience in the tech sector. He’s written and edited news, demand generation, user-focused, and thought leadership content for business software solutions, consumer tech, and Linux Today, he edits and writes for a portfolio of tech industry news and analysis websites including webopedia.com, and DatabaseJournal.com.

Linux Today Logo

LinuxToday is a trusted, contributor-driven news resource supporting all types of Linux users. Our thriving international community engages with us through social media and frequent content contributions aimed at solving problems ranging from personal computing to enterprise-level IT operations. LinuxToday serves as a home for a community that struggles to find comparable information elsewhere on the web.

Property of TechnologyAdvice. © 2026 TechnologyAdvice. All Rights Reserved

Advertiser Disclosure: Some of the products that appear on this site are from companies from which TechnologyAdvice receives compensation. This compensation may impact how and where products appear on this site including, for example, the order in which they appear. TechnologyAdvice does not include all companies or all types of products available in the marketplace.