Regex in new pattern attr for HTML5 forms -


The first time I am using HTML5 form for the first time and I want to use the new pattern feature. This is a regular expression (which I have not used before) so I have lost a bit. I want the basic rule 'minimum of any character' 5 '.

I have tried:

  pattern = "([0-9] [az]) {5}"   

But this does not work, so I'm obviously missing something clearly. If someone can help me, then the most grateful.

I want the basic rule to be less than 5 ( \

code>) at least 5 times.

Comments