CSS RegularExpression
CSS RegularExpression
"^[a-zA-Z0-9+_.-]+@[a-zA-Z0-9.-]+$"
Where,
(\d{3}): Then three numeric digits must be entered for valid formats. If there is no
[- ]?: The string may optionally contain a hyphen. It can be placed either after the
parenthesis or following the first three digits. For example, (123)- or 123-.
(\d{3}): Then the number must contain another three digits. For example, it can look
[- ]?: It allows you to include an optional hyphen in the end, like this: (123) -456-, -
123- or 123456-.
(\d{4})$/: Finally, the sequence must end with four digits. For example, (123) -456-