Regular Expressions 101

Community Patterns

Community Library Entry

1

Regular Expression
PCRE (PHP <7.3)

/
^(?:[\d\sx]+)?(?:\[.*\]\s)?(?:(.*)(?:[\(\/].*)$|(.*)(?:foil)|(.*?)\d|(.*))
/
gmi

Description

Get Cards name

Submitted by Patrick Bard - 9 years ago