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
4
c 4
d4
day14
int14
:
c :
A
c A
wA
p
c p
wp
r
c r
wr
usstatepr
varApr
wordApr
monthApr
:
c :
2
c 2
d2
0
c 0
d0
1
c 1
d1
1
c 1
d1
day11
year2011
int2011
ddmmmyyyy14:Apr:2011
_
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
::  Fri, 15 Apr 2011 06:14PM
::  Fri, 15 Apr 2011 06:15PM
:: woahFri, 15 Apr 2011 06:24PM
::  Fri, 15 Apr 2011 06:25PM
Aaron McGrady:: Thanks, now I have more time to watch netflix!Fri, 15 Apr 2011 06:25PM
John:: You have now expanded the scope of what programmers are capable of. Great job!Fri, 15 Apr 2011 06:28PM
Jason:: Cool idea, but needs more flexibility to be useful. For instance, much whitespace is optional. Also, only some fields are worth extracting.Fri, 15 Apr 2011 06:33PM
rb:: Thank you for taking the time and effort to save me time and effort. Kudos!Fri, 15 Apr 2011 06:49PM
coretechx:: fuckin briliantFri, 15 Apr 2011 07:13PM
::  Fri, 15 Apr 2011 07:41PM
Chris B:: Mark? Mark? He's my favorite person!Fri, 15 Apr 2011 07:42PM
:: mind blowingly awesome.Fri, 15 Apr 2011 08:14PM
butz:: Thank you!Fri, 15 Apr 2011 08:24PM
:: any chance of F# support sometime?Fri, 15 Apr 2011 08:28PM
:: Nice that will make life easier for so many people!Fri, 15 Apr 2011 09:44PM
:: AWESOME!Fri, 15 Apr 2011 09:57PM
::  Fri, 15 Apr 2011 10:04PM
mvt:: +1 for youFri, 15 Apr 2011 10:05PM
Andrew:: alde: if you click sent, ws, int, ws, bytes, you'll essentially get /sent\w+(\d+)\w+bytes/, which is most likely what you'd want.Fri, 15 Apr 2011 11:47PM
Jassa:: Whut!Sat, 16 Apr 2011 12:56AM
:: +1Sat, 16 Apr 2011 01:11AM
::  Sat, 16 Apr 2011 03:50AM
pedro:: lo traspaso en c# y no hace nadaSat, 16 Apr 2011 03:52AM
me:: I like the idea, but honestly I find it more confusing than writing a regex ... that and substitution is where the real fun begins!Sat, 16 Apr 2011 07:15AM
osi:: I like it! Great! Greetings from Hungary.Sat, 16 Apr 2011 07:17AM
tott:: That's awesome, thanks a bunchSat, 16 Apr 2011 09:51AM
::  Sat, 16 Apr 2011 10:37AM
::  Sat, 16 Apr 2011 09:07PM
tai_hen:: Kudos for you!Sun, 17 Apr 2011 06:55AM
ArtieD:: Wonderful!!Sun, 17 Apr 2011 01:00PM
me2:: RegEx isn't that hard... it becomes more difficult when using lookaheads and the like. This is a neat tool, but it's still not going to work for all situations.Sun, 17 Apr 2011 09:41PM
kev:: really sucks, uselessSun, 17 Apr 2011 10:15PM
::  Sun, 17 Apr 2011 10:16PM
:: alert('l');Sun, 17 Apr 2011 10:16PM
:: <hr>Sun, 17 Apr 2011 10:17PM
Inigo Montoya:: Hello. My name is Inigo Montoya, and this is awesome.Mon, 18 Apr 2011 01:58AM
Roel:: please add a sed version!! thanksMon, 18 Apr 2011 02:45AM
:: ' -- BOBBY TABLES ETCMon, 18 Apr 2011 03:27AM
Killburn:: Thx!!Mon, 18 Apr 2011 08:09AM
Per:: Thank you so much. This is VERY helpfullMon, 18 Apr 2011 08:35AM
ehtcilp:: make him feel at easeMon, 18 Apr 2011 09:31AM
Alex:: Can I have a massage?Mon, 18 Apr 2011 10:10AM
G.I. Joe:: Body massage!Mon, 18 Apr 2011 10:42AM
:: ThanksMon, 18 Apr 2011 11:38AM
 
  home     faq