Regular Expressions 101

Community Patterns

1...34567...879

Full url parse, domain, path, params

12

Regular Expression
ECMAScript (JavaScript)

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

Description

no description available

Submitted by anonymous - 9 years ago