Regular Expressions 101

Community Patterns

0

分组

ECMAScript (JavaScript)
显示分组
Submitted by Jason - 2 years ago
0

OS正则表达式

Java 8
zzx
Submitted by zzx - 2 years ago
0

DB

Java 8
DB
Submitted by DB - 2 years ago

find all link(<a>) tags expect your links in href attribute

11

Regular Expression
ECMAScript (JavaScript)

/
<(a+) (?!(?:href=(["|']+)([http:\/\/])*link\.com([\/])?(.*?)["|'])) *[^>]*>(.*?)[^>]>
/
gm

Description

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