Suggest a feature
×

Welcome to TagMyCode

Please login or create account to add a snippet.
0
0
 
0
Language: Text
Posted by: Richard WebStorm
Added: Sep 15, 2020 1:41 AM
Modified: Oct 30, 2020 2:15 AM
Views: 102
Tags: no tags
  1. Email: pattern="[a-zA-Z0-9.-_]{1,}@[a-zA-Z.-]{2,}[.]{1}[a-zA-Z]{2,}"
  2. Password: pattern="^(?=.*[A-Za-z])(?=.*\d)[A-Za-z\d]{8,}$"
  3. Any Name field: pattern="^[\w'\-,.][^0-9_!¡?÷?¿/\\+=@#$%ˆ&*(){}|~<>;:[\]]{2,}$"
  4. Phone Number: pattern="^[0-9-+\s()]*$" minlength="6" maxlength="20"
  5. Credit card date: pattern="(?:0[1-9]|1[0-2])/[0-9]{2}"