Regular Expressions 101

Sponsors

Library entries

0
pcre

dateformat classique fr

12/10/1991
Submitted by anonymous - 5 hours ago
0
pcre

腾讯视频

从元素解析视频URL
Submitted by anonymous - 13 hours ago
0
pcre

match comments

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

ASD

HI
Submitted by anonymous - 5 days ago
0
pcre

Token Delimiter

Token Delimiter
Submitted by anonymous - 8 days ago
0
java

lat cyr letters

only lat and cyr letters
Submitted by anonymous - 9 days ago
0
java

LinkedIn Profile Url

LinkedIn Profile Url
Submitted by Morons - 10 days ago
0
pcre

Thai car register

rule for thai registered car
Submitted by socool - 12 days ago
0
pcre

Thai credit card

rule for parse thai credit card
Submitted by socool - 12 days ago
0
pcre

Thai citizen

rule for parse thai citizen card
Submitted by socool - 12 days ago
0
pcre

css class

css class
Submitted by anonymous - 22 days ago
0
java

phone number matcher

phone number matcher
Submitted by anonymous - 22 days ago
0
pcre

SC23

SC23
Submitted by 00 - 25 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