Nice console regex helper

Last week I stum­bled on a nice con­sole regex helper. It’s not that I’m bad at regex but switch­ing between sed, vim, python, perl regex trips me up a bit sometimes.

Go ahead and check it out for yourself

sudo aptitude install txt2regex

[.]quit [0]reset [*]color [/]programs ^txt2regex$

!! not sup­ported
RegEx perl :
RegEx php :
RegEx post­gres:
RegEx python :
RegEx sed :
RegEx vim :


start to match:
1) on the line begin­ning
2) in any part of the line

One Comment

Leave a Reply

Your email is never shared.Required fields are marked *

To submit your comment, click the image below where it asks you to...
Clickcha - The One-Click Captcha