Regular Expressions 101

Library entries

Match URL or URI strings

Vote

0

Regular Expression
javascript

/
([a-z]+\:\/+)([^\/\s]+)([a-z0-9\-@\^=%&;\/~\+]*)[\?]?([^ \#\r\n]*)#?([^ \#\r\n]*)
/
ig

Description

Loading markdown...
Submitted by https://danlevy.net/ - 4 months ago