mardi 4 août 2015

PHP Regex: number x number

I'm looking for a regex like for this pattern;

10x12
1x12
1x1
10x12
11x11

This is what i've found out, but its not working properly.

/([0-9]x[0-9])\w+/g

Aucun commentaire:

Enregistrer un commentaire