Regular Expressions 101

Community Library Entry

0

Regular Expression
ECMAScript (JavaScript)

/
(?:((?:https|http):\/\/)|(?:\/)).+(?:.mp3|mp4)
/
gm

Description

URL media (mp3, mp4) or else

Submitted by anonymous - 4 years ago