Regular Expressions 101

Sponsors

Library entries

0
dotnet

Aus Mobile number

validates against multiple common formats
Submitted by anonymous - 5 days ago
0
dotnet

15.02.2022 15:00:00

15.02.2022 15:00:00
Submitted by anonymous - 2 months ago
0
dotnet

Minimum 10 herhangi dijit

Minimum 10 herhangi dijit
Submitted by anonymous - 2 months ago
0
dotnet

USD

USD
Submitted by anonymous - 2 months ago
0
dotnet

01 Jan 2022 Mon 01:02:03

01 Jan 2022 Mon 01:02:03
Submitted by anonymous - 2 months ago
0
dotnet

^[A-Z,a-z,\-, ,\&]+$

Koray Bilgi, Text-Regex
Submitted by anonymous - 2 months ago
-1
dotnet

MMM DDD YYYY

FEB MON 2023
Submitted by anonymous - 2 months ago
0
dotnet

Match IPv4 Valid

expression to capture valid IP
Submitted by anonymous - 2 months ago
0
dotnet

Get h1-6 tag

(.*?)
Submitted by OlegBel - 2 months ago
0
dotnet

nick anme

mvp
Submitted by doppler - 2 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