Regular Expressions 101

Library entries

Basic Hex Capture

Vote

0

Regular Expression
pcre2

/
(?<color>\[(?<hex>[a-fA-F0-9]{6})\](?<text>[\s\w!@#$&()<>\\-`.+,\/\\\"]{0,}))
/
g

Description

Loading markdown...
Submitted by anonymous - 6 months ago