Regular Expressions 101

Sponsors

Library entries

0
pcre

Match youtube id

no description available
Submitted by anonymous - 7 years ago
1
pcre

Get Itunes ID

Get itunes id from url
Submitted by sendypw - 7 years ago
-2
python

python bracketed text

why doesn't this match text in brackets?
Submitted by anonymous - 7 years ago
1
pcre

Email validation

because everything else is too strict
Submitted by anonymous - 7 years ago
1
pcre

rvewr

no description available
Submitted by anonymous - 7 years ago
1
pcre

match any email address in list

no description available
Submitted by cloneman - 7 years ago
2
javascript

html font to bbcode

no description available
Submitted by anonymous - 7 years ago
1
pcre

Match mydomain*.mydomain.com

no description available
Submitted by Trappist - 7 years ago
1
javascript

big apple is fool

no description available
Submitted by litianzhao - 7 years ago
1
pcre

Ja som's regex

no description available
Submitted by anonymous - 7 years ago
-1
python

text beetween text

no description available
Submitted by karol - 7 years ago

ticket regexp

Vote

1

Regular Expression
pcre

/
(?x) ^\s*(\d+)\s+ # coupon number ([OX]) # stopover flag (\w{3})\s+ # depapt (\w{2})\s* # cr (\d{1,4}) # flnr ([A-Z0-9]{2}|\s+)\s+ # operating carrier ([A-Z])\s+ # booking class (\d{2}\w{3}\d{4})\s+ # dep datetime (\w{2})\s+ # status ([\w\d\/]+)\s+ # farebase (\w)\s+ # coupon status (\d{2}\w{3}|\s) # nvb (\d{2}\w{3}|\s)\s+ # nva ([A-Z\d]{2,3}) # baggage allowance
/
mg

Description

Loading markdown...
Submitted by anonymous - 8 years ago