Regular Expressions 101

Sponsors

Library entries

0
python

Remove ANSI escape codes

Remove ANSI escape codes
Submitted by anonymous - a day ago
0
pcre

dateformat classique fr

12/10/1991
Submitted by anonymous - 2 days ago
0
pcre

腾讯视频

从元素解析视频URL
Submitted by anonymous - 2 days ago
0
dotnet

No leading or trailing spaces

No leading or trailing spaces
Submitted by anonymous - 3 days ago
0
dotnet

Ipv4 with optional port

ipv4 with optional port
Submitted by anonymous - 3 days ago
0
pcre

match comments

/** comments */ // to the end /* comments */
Submitted by monk - 6 days ago
0
pcre

ASD

HI
Submitted by anonymous - 6 days ago
0
python

Pick third section

Pick third section
Submitted by Charles - 7 days ago

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