Regular Expressions 101

Community Patterns

Community Library Entry

0

Regular Expression
Python

r"
(?:\[(?P<text>.*?)\])\((?P<link>.*?)\)
"
gm

Description

A regex to find valid markdown images

Submitted by anonymous - 4 years ago