Regular Expressions 101

Library entries

HTML Anchor to Markdown Inline Link

Vote

1

Regular Expression
pcre

/
<a[^>]*?href=(?|"([^"]*?)"|'([^']*?)').*?>(.*?)<\/a>
/
gsi

Description

Loading markdown...
Submitted by Mike Johnson - 8 years ago