Regular Expressions 101

Sponsors

Library entries

0
pcre2

matches 4 or 6 or 8 digit which might be otp

test
Submitted by test - 7 hours ago
0
pcre2

InputInteger

InputInteger
Submitted by anonymous - 2 days ago
0
pcre2

hidrologia

qualidade
Submitted by anonymous - 2 days ago
0
pcre2

Celular Brasil

Validar celular do Brasil
Submitted by Paulo Neves - 6 days ago
0
pcre2

Test mail

Email test
Submitted by anonymous - 9 days ago
0
pcre2

No Squares

Match not square brackets
Submitted by max - 10 days ago

uri parser

Vote

4

Regular Expression
pcre

/
(?<protocol>(?:[^:]+)s?)?:\/\/(?:(?<user>[^:\n\r]+):(?<pass>[^@\n\r]+)@)?(?<host>(?:www\.)?(?:[^:\/\n\r]+))(?::(?<port>\d+))?\/?(?<request>[^?#\n\r]+)?\??(?<query>[^#\n\r]*)?\#?(?<anchor>[^\n\r]*)?
/
mx

Description

Loading markdown...
Submitted by anonymous - 8 years ago