I have created this pattern for £ but I would love to know how to add euros and dollars etc within this pattern.
pattern="^\£\d{1,3}(.\d{3})*(.\d+)?$"
I have created this pattern for £ but I would love to know how to add euros and dollars etc within this pattern.
pattern="^\£\d{1,3}(.\d{3})*(.\d+)?$"
Answered my own question
pattern="^[£$€]\d{1,3}(.\d{3})*(.\d+)?$" data-type=“currency”