Regular Expressions 101

Sponsors

Library entries

Parse Entire URL

Vote

1

Regular Expression
pcre

/
https?:\/\/(?:www\.)?([-a-zA-Z0-9@:%._\+~#=]{2,256})(\.[a-z]{2,6}\b)*(\/[\/\d\w\.-]*)*(?:[\?])*(.+)*
/
gi

Description

Loading markdown...
Submitted by Robert Kozora - 7 years ago