Regular Expressions 101

Sponsors

Library entries

1
pcre

Number invalidator

Including +/-12.3. etc. Excluding MH12, etc.
Submitted by HMK - 9 years ago
1
pcre

YOLO

Substitutes "you only live once" with "YOLO".
Submitted by anonymous - 9 years ago
-2
pcre

Maintain portion in the middle

no description available
Submitted by HMK - 9 years ago
-34
pcre

your mom

aasdf
Submitted by your mom - 9 years ago
1
pcre

asd

asd
Submitted by anonymous - 9 years ago
1
pcre

quotes and escapes

no description available
Submitted by zgorawski - 9 years ago
1
pcre

regular expression - with space

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

test url

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

1

23123
Submitted by anonymous - 9 years ago
2
pcre

Match subset

no description available
Submitted by Jason - 9 years ago
-2
pcre

RegEx within tags

no description available
Submitted by anonymous - 9 years ago
-2
pcre

Version in Cordova config.xml

no description available
Submitted by procek - 9 years ago
0
pcre

match text between two <br/> tags.

no description available
Submitted by gordie - 9 years ago
1
pcre

Match a date in SQL Server format

no description available
Submitted by anonymous - 9 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 - 9 years ago