txt 2 re
        headache relief for programmers :: regular expression generator         (perl php python java javascript coldfusion c c++ ruby vb vbscript j# c# c++.net vb.net)
 
Enter the string that you want to use a regular expression on:
1
   
 
Select the elements that you want to extract to run regular expression generator:
2
1
c 1
d1
9
c 9
d9
int19
day19
:
c :
N
c N
wN
o
c o
wo
v
c v
wv
varNov
wordNov
monthNov
:
c :
2
c 2
d2
0
c 0
d0
0
c 0
d0
8
c 8
d8
day08
int2008
year2008
ddmmmyyyy19:Nov:2008
_
c _
ws_
"
c "
T
c T
wT
h
c h
wh
i
c i
wi
s
c s
ws
varThis
wordThis
_
c _
ws_
i
c i
wi
s
c s
ws
varis
wordis
_
c _
ws_
a
c a
wa
n
c n
wn
varan
wordan
_
c _
ws_
E
c E
wE
x
c x
wx
a
c a
wa
m
c m
wm
p
c p
wp
l
c l
wl
e
c e
we
varExample
wordExample
!
c !
"
c "
string"This_is_an_Example!"
< Source String
 
What to click?  extract any integer in this position
extract this integer (2006) in this position
 
 
 
 
Feedback
wagnerss:: fantastic! congratulations! Thu, 25 Sep 2008 11:32PM
Mark:: Hi Tushar, There's a few probs with multi-line - display of multiple lines with their matches, comparing multiple lines... it could look quite complicated.Fri, 26 Sep 2008 03:17PM
Alan:: Wow, just what I was looking for, any chance of adding PowerShell Support ?Wed, 1 Oct 2008 12:43PM
hank:: amazingThu, 2 Oct 2008 12:40AM
Mark:: Alan, Could you take a generated program and translate to powershell for me?Thu, 2 Oct 2008 10:35AM
Orii:: This is a nice tool. :) Any chance you'll be adding support for ^ and $ matching?Fri, 3 Oct 2008 08:59PM
Liv2luv:: Amazing program. Kudos!!Sun, 5 Oct 2008 05:59PM
dcc24:: Very cool man! Saved me quite some time! Thanks for this piece of awesomness!! BTW: multi-line support?Sun, 5 Oct 2008 09:17PM
woooooop:: Hello! Noticed that trying to match blank tabs breaks your tool, other than that you rule :)Mon, 6 Oct 2008 05:44PM
Chris:: This site is amazingTue, 14 Oct 2008 07:07PM
bappaIndia:: amazing and nice conceptTue, 21 Oct 2008 01:06PM
musti:: merci!Wed, 22 Oct 2008 01:38PM
Eric:: This page is a technical \"woody\". Wed, 22 Oct 2008 04:57PM
scancode:: i LOVE this thing :)Sat, 25 Oct 2008 12:06AM
Mario:: Incroyable !! MERCI !Sat, 25 Oct 2008 02:41AM
test:: testSat, 25 Oct 2008 07:36PM
mgadfnndpj:: GeRZjIlZKOMon, 27 Oct 2008 06:35AM
lloydi:: Superb! I\'ve always wanted a tool like this. Excellent work.Mon, 27 Oct 2008 11:40AM
dan:: very good!Mon, 27 Oct 2008 05:48PM
bones:: You are a genius. Should get a knighthood for services to programming!Wed, 29 Oct 2008 04:20PM
rob:: Dude - you so rock!Thu, 30 Oct 2008 04:53AM
afroxav:: I love you man!Thu, 30 Oct 2008 10:59PM
Simon:: It\'s so nice it\'s crazy !Sat, 1 Nov 2008 12:33PM
Simon:: Again It\\\'s so nice it\\\'s crazy !Sat, 1 Nov 2008 12:53PM
Accelebrate:: Very useful, saved me a lot of time :)Sat, 1 Nov 2008 10:04PM
:: hmm cannot match \"/\" escape characterMon, 3 Nov 2008 03:04PM
Mark:: Does this not do it? http://txt2re.com/index.php3?s=/&-1Mon, 3 Nov 2008 06:19PM
Chris:: Seriously, thank you so much for this. This is much easier to use than LEX and YACC. THANK YOU!!!!!!Tue, 4 Nov 2008 07:45PM
rD:: very coolFri, 7 Nov 2008 12:58AM
AGuy:: Dear Creator: I owe you one beer. :)Fri, 7 Nov 2008 06:32PM
Marco:: Great!!Sun, 9 Nov 2008 12:50PM
Comcastic_Mark:: Holy god!Mon, 10 Nov 2008 02:44AM
Bind:: thant you for such a great tool to simplification of the complicatedMon, 10 Nov 2008 09:21PM
damajor:: That\'s great !!!Thu, 13 Nov 2008 12:12PM
Mike:: Thaks it\'s very hellps meThu, 13 Nov 2008 06:21PM
rich:: very nice, superb workThu, 13 Nov 2008 09:32PM
SoulLinker:: omg, you are monsterFri, 14 Nov 2008 06:32AM
:: wow11111111Fri, 14 Nov 2008 08:14AM
ya:: it\'s awesome, maan!Fri, 14 Nov 2008 08:19AM
Josh:: Amazing little tool! Thanks!!Fri, 14 Nov 2008 11:51AM
::  Tue, 18 Nov 2008 08:03PM
e:: Muchisimas GraciasWed, 19 Nov 2008 09:58AM
e:: Muchisimas GraciasWed, 19 Nov 2008 09:58AM
e:: Muchisimas GraciasWed, 19 Nov 2008 09:58AM
 
  home     faq