Regular Expressions 101

Sponsors

Library entries

0
dotnet

Username regex

Matches alphanumeric, @, . , -
Submitted by Ethan Pedersen - 2 days ago
0
pcre2

id_name_fb

get id, name from fb link
Submitted by anonymous - 2 days ago
0
pcre2

basic email validation

Basic email regex for quick validation
Submitted by bUxEE - 2 days ago
0
pcre2

RTDM_Thread_Pool

RTDM_Thread_Pool
Submitted by anonymous - 2 days ago
0
pcre2

Validation

^a-zA-Z+@[a-zA-Z]{3,20}\.[a-z]{3}$
Submitted by anonymous - 4 days ago
0
pcre2

Password

Password includes a,A,1,!$#%
Submitted by anonymous - 7 days ago
0
pcre2

长宽高

长宽高
Submitted by mouxan - 7 days ago
0
pcre2

match extends in a class

to match extends in a class
Submitted by anonymous - 8 days ago
0
pcre2

implements Regex

To match implements in classes
Submitted by anonymous - 8 days ago

split URL into location-resource-params

Vote

3

Regular Expression
pcre

/
(?'location'.+)(?:\/(?'resource'[\w\-\._]+\.js))(?:\?(?'params'.+))?
/
gm

Description

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