Regular Expressions 101

Community Patterns

1

instagram url

Python
gets the url instagram
Submitted by samuel06santos - 4 months ago
1

Kafka loki parser

Golang
Kafka loki parser
Submitted by anonymous - 4 months 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