samedi 19 septembre 2020

(PHP) how to check if input string with specific pattern?

i have table pattern like this : ID Name Pattern 1 Patern A "### ## ##" 2 Pattern B "######" 3 Pattern C "#### ## ####"

how I can match input string with that pattern ? , say if pattern base on that space, not by number or char . thanks

Aucun commentaire:

Enregistrer un commentaire