Regular Expressions 101

Community Patterns

Community Library Entry

1

Regular Expression
PCRE (PHP <7.3)

/
\{"contents":\{"name":"(.*)","rarity":"(\d*)","base_attack":"(\d*)","base_defense":"(\d*)","base_magic_attack":"(\d*)","base_magic_defense":"(\d*)","base_speed":"(\d*)","base_luck":"(\d*)","hi_level":"?(\d*)"?,"hi_attack":(\d*),"hi_defense":(\d*),"hi_magic_attack":(\d*),"hi_magic_defense":(\d*),"hi_speed":(\d*),"hi_luck":(\d*),"((weapon)|(protector)|(accessoire))_id":"\d*","description":"([^"*]*)(?:\*([^"]*))?","\g{16}_image":"([^"]*)","sale_price":"\d*"\},"header":\{"status":"OK","error_msg":null\}\}
/
gm

Description

no description available

Submitted by anonymous - 9 years ago