Regular Expressions 101

Library entries

Strip out domain extensions except for Microsoft .net technologies.

Vote

3

Regular Expression
pcre

/
(^|\s)(?!\b(?:basic|studio|asp|v[bs]|c\#)\.net)(\w+)(?:\.co\.[a-z]{2}|\.[a-z]{2,6})\b
/
gi

Description

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