Regular Expressions 101

Sponsors

Library entries

-2
pcre

RegEx within tags

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

Version in Cordova config.xml

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

match text between two <br/> tags.

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

Match a date in SQL Server format

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

Remove /* comments */ from CSS

no description available
Submitted by JerseyMilker - 8 years ago
1
pcre

tesdsa

dsadsadsadsa
Submitted by dasdasdsa - 8 years ago
1
pcre

HTML color search

Searches for hex colors in HTML code.
Submitted by Barlean - 8 years ago
2
pcre

named group sample

no description available
Submitted by anonymous - 8 years ago
0
pcre

split on dollar sign

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

include case

How to include the matched cases in the result?
Submitted by anonymous - 8 years ago
1
pcre

test

no description available
Submitted by anonymous - 8 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