From Wikipedia, the free encyclopedia
Jump to navigation Jump to search
Original author(s)Aurelio Jargas[1]
Initial release23 February 2001; 18 years ago (2001-02-23)[1]
Stable release
0.8[2] / 29 September 2004; 14 years ago (2004-09-29)[2]
Written inBash
LicenseGNU General Public License

^txt2regex$ is a regular expression wizard that leads the user through the construction of a regular expression by asking a series of questions. The regular expression is generated in the notation used by awk, ed, egrep, Emacs, expect, find, grep, lex, Lisp, MySQL, OpenOffice.org, Perl, PHP, PostgreSQL, Procmail, Python, Sed, Tcl, VBscript, Vi, and Vim. It is a useful tool for users with little or no knowledge of regular expressions and so is included in several Linux distributions, including Debian, Fedora, Gentoo, Knoppix, and Mandriva, in FreeBSD, and in Fink for Mac OS X.

Although graphical interfaces have typically followed command line interfaces, ^txt2regex$ is unusual in providing a command line interface for a function usually, and previously, provided by means of a graphical user interface. It is also unusual in interacting with the user to facilitate the use of what is generally regarded as a technical tool unsuitable for naive users and in supporting multiple regular expression notations. ^txt2regex$ is a bash script.


  1. ^ a b "aureliojargas/txt2regex". GitHub. Retrieved 2017-04-11.
  2. ^ a b "^txt2regex$". aurelio.net. Retrieved 2017-04-11.

External links[edit]