Regular Expressions 101

Sponsors

Library entries

0
dotnet

Username regex

Matches alphanumeric, @, . , -
Submitted by Ethan Pedersen - 7 months ago
0
dotnet

sdfsfd

sdfdsf
Submitted by anonymous - 7 months ago
0
dotnet

Any WhiteSpace Character

Any WhiteSpace Character
Submitted by anonymous - 7 months ago
0
dotnet

custom email

custom email
Submitted by anonymous - 7 months ago
0
dotnet

7zip file type regex

header of output from > 7z i
Submitted by ninmonkey - 7 months ago
0
dotnet

title and page

find title and page in text
Submitted by anonymous - 7 months ago
0
dotnet

IP Table Parse IPID

Match 1 is the IPID
Submitted by Tres Little - 6 months ago
0
dotnet

URL

(@url)([\s]=[\s])(?:')(.)(?:')(?:;)
Submitted by anonymous - 6 months ago
0
dotnet

Initials

get the initial of a strings
Submitted by Eddie Choong - 5 months ago
2
dotnet

Replace sub-strings in string

Replace sub-strings in string
Submitted by anonymous - 3 months ago

sdfsfd

Vote

0

Regular Expression
dotnet

"
(?<type>[A-Z]{1})(?<subtype>[A-Z<]{1})(?<issue_country>[A-Z]{3})(?<doc_number>[A-Z0-9<]{9})(?<check_sum>[0-9]{1})(?<first_optional>[A-Z0-9<]{15})\n(?<date_brith>[0-9]{6})(?<birth_check>[0-9{1}])(?<sex>[MF]{1})(?<expiration_date>[0-9]{6})(?<expiration_check>[0-9]{1})(?<nationality>[A-Z]{3})(?<second_optional>[A-Z0-9<]{11})(?<check_digit>[0-9]{1})\n(?<lname>[A-Z]+)(?<lname2><[A-Z]+){0,}<<(?<spacing>[<]{0,})(?<fname>[A-Z]+)(?<mname1><[A-Z]+){0,}(?<complement><.+){0,}
"
g

Description

Loading markdown...
Submitted by anonymous - 7 months ago