Regular Expressions 101

Library entries

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 - 7 years ago