Regular Expressions 101

Sponsors

Library entries

-3
javascript

Detect a numeric string

no description available
Submitted by Ankur Chauhan - 7 years ago
1
javascript

Spanish NIE / NIF Validator

no description available
Submitted by Gauravity - 7 years ago
0
pcre

reference

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

domain from full url

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

Extract Metadata

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

reference

reference pattern checking
Submitted by karthikeyan - 7 years ago
-2
pcre

regex demo

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

tr

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

UUID regex

no description available
Submitted by santisaez - 7 years ago
3
javascript

TEST

negation
Submitted by anonymous - 7 years ago
1
pcre

Route Regex

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

VNC-58

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

My test

My test
Submitted by Mike - 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