Regular Expressions 101

Sponsors

Library entries

0
pcre

Parcing2

aa
Submitted by anonymous - 2 hours ago
0
pcre

trim phone number

trim phone number
Submitted by anonymous - 10 hours ago
0
golang

log timestamp

extract time stamp from log entry
Submitted by anonymous - a day ago
0
pcre2

Storyblok Assets

Match paths for a.storyblok.com
Submitted by anonymous - 4 days ago
0
pcre2

Init code

Init code
Submitted by anonymous - 4 days ago
0
dotnet

Match IPv4 Valid

expression to capture valid IP
Submitted by anonymous - 4 days ago

asd

Vote

1

Regular Expression
pcre

/
(?|\((?<txt>[^)]+)\)\[(?<url>https?://(?:www\.)?(?:(?:(?:(?:en|ru|de|pt-br|fr|pl|zh-tw|nl|es|images|maps|video|news|shopping|photos|plus|profiles|books|finance|scholar|bing|snopes|wikipedia)\.)?lmgtfy|lm(?:b|sp|s)tfy)\.com|lmddgtfy\.net))\])|((\g<url>))
/
gi

Description

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