validator - regexp data-attribut

validator - regexp data-attribut

the validator plugin supports the data-attribut
How can i use my own regular expresion using the data-attribut ?