Regular Expressions 101

Library entries

Domain Regex (line start)

Vote

1

Regular Expression
javascript

/
(?!\W)(http(s?):\/{2})?(www\.)?[a-z0-9-.]+?\.[cnoiegm][a-z]{1,2}(\/[^\s]*|(?=\W))?
/

Description

Loading markdown...
Submitted by anonymous - 6 years ago