Main image
28th April
2009
written by Nick Anderson

Last week I stumbled on a nice console regex helper. It’s not that I’m bad at regex but switching 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 supported
RegEx perl :
RegEx php :
RegEx postgres:
RegEx python :
RegEx sed :
RegEx vim :

.oO()()
[1-2]:

start to match:
1) on the line beginning
2) in any part of the line

1 Comment

  1. Ben Ubuntu Firefox 3.0.9
    28/04/2009

    Thanks. This is awesome!

Leave a Reply

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

BLOGROLL

ARCHIVE