This matches any card with an alphanumeric deck name (plus dashes (-) and underscores (_)) and two digit card number. However, there are special cases where this may not always match, ie. a TCG with three digit card numbers. It's not practical (or even possible?) to create a regex that will match every scenario - therefore, we need to add an option to change the default card matching regex within the TCG settings for these special cases.
The following default regex works for most TCGs:
/^([a-z0-9-_]+)([0-9]{2})$/i
This matches any card with an alphanumeric deck name (plus dashes (-) and underscores (_)) and two digit card number. However, there are special cases where this may not always match, ie. a TCG with three digit card numbers. It's not practical (or even possible?) to create a regex that will match every scenario - therefore, we need to add an option to change the default card matching regex within the TCG settings for these special cases.