Regular Expressions 101

Sponsors

Library entries

2
pcre

Extract .mp3 url

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

Angular 2 property access

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

bash

bash
Submitted by b10n1k - 7 years ago
2
pcre

Float Representation

no description available
Submitted by S-YOU - 7 years ago
2
pcre

Chinese slang words regex

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

Common Taiwanese slang regex

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

word before :

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

file extension validation

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

pdf url link

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

BRAZILIAN VEHICLE PLATE

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

fffs

dfsfd
Submitted by anonymous - 7 years ago
2
javascript

Delimite a number with 3-digital block

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

password 1upper 1lower 1number 1specialcharater

fjk@1Qaa$
Submitted by Anuswadh - 7 years ago
2
pcre

Fix Card Def

no description available
Submitted by yyrkroon - 7 years ago

Complete Machine Readable Passport pattern

Vote

2

Regular Expression
pcre

/
(?<type>[A-Z])(?<subtype>[<A-Z])(?<country>\w{3})(?<lname>[A-Z]+)(?<lname2><[A-Z]+){0,}<<(?<fname>[A-Z]+)(?<mname1><[A-Z]+){0,}(?<complement><){0,}\n(?<pnum>[\d\w]{9})(?<pnumcheck>\d{1})(?<nat>\w{3})(?<yob>\d{2})(?<mob>\d{2})(?<dob>\d{2})(?<dobcheck>\d{1})(?<sex>M|F|<{1})(?<yoe>\d{2})(?<moe>\d{2})(?<doe>\d{2})(?<expcheck>\d{1})(?<pid>[\d\w<]{14})(?<pidcheck>\d{1})(?<generalcheck>\d{1})
/
m

Description

Loading markdown...
Submitted by Igor Ferreira - 6 years ago