RegEx pattern work with JavaScript but not with html5 input

With help I findout two RegEx patterns:



As you see they are work with js but when I want to use them in input pattern, an input is always invalid.

How to make it works?

Source: html5

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.