Regular Expressions 101

Library entries

Convert NGUI Color codes to Unity Rich Text Color codes

Vote

0

Regular Expression
pcre

/
^(?<prefix>.?)\[(?<code>[ABCDEFabcdef0123456789]{6})\](?<suffix>.*?)(\[-\])
/
gm

Description

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