Regular Expressions 101

Library entries

URL Component Pattern

Vote

0

Regular Expression
javascript

/
(http[s]?)\:\/\/([\w\-_]+(\.[\w\-_]+){0,5}(\:\d+)?)((\/[\w\.\-_]+\/?)*)\/?(\?([\w\._\-]+\=[\w\.\-_\s+%]*\&?)*)?(\#[\w_\/\-]*)?
/
gi

Description

Loading markdown...
Submitted by jkaveri - 5 years ago