Regular Expressions 101

Sponsors

Library entries

0
pcre2

RTDM_Thread_Pool

RTDM_Thread_Pool
Submitted by anonymous - 2 hours ago
0
pcre2

Validation

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

Date Validator

Submitted by anonymous - 3 days ago
0
python

Date Validator

Submitted by anonymous - 3 days ago
0
javascript

111

111
Submitted by Alex - 3 days ago

Replace last segment of url?

Vote

0

Regular Expression
javascript

/
(http[s]?:\/\/)(\S+\/)*(?!=\/$|$)([^\/]+\/)*(?=\/$|$)
/
gm

Description

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