Regular Expressions 101

Community Patterns

Community Library Entry

0

Regular Expression
PCRE (PHP <7.3)

/
^\s{4}([a-z]+): {\n\s+name: \"([a-zA-Z' \-]+)\",\n(?:\s+class: \"([a-z]+)\",\n)?(?:\s+tclass: \"([a-z]+)\",\n)?(?:\s+order: ([a-zA-Z\[\]\", \d]+),\n)?(?:\s+tclass: \"([a-z]+)\",\n)?\s+bonuses: \{\n\s+([\d: \{\na-z\"A-Z,%\.}\]\[\-_']+)\n {8}\}\n {4}\},\n
/
gmU

Description

no description available

Submitted by anonymous - 5 years ago