Regular Expressions 101

Community Patterns

Community Library Entry

0

Regular Expression
ECMAScript (JavaScript)

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

Description

Work in Progress

Submitted by anonymous - 3 years ago