Hi!
I have difficulty defining masks/formats for data entry (via dialog boxes). I needed an entry to be accepted only if it was a valid email or empty. I used the code below. It works ok to validate e-mail, however, it does not allow empty and I need to allow it. Could someone help me by indicating what to change and how to make entries for site links (which also accept empty)?
"^(?i)[a-z0-9!#$%&'*+/=?^_`{|}~-]+(?:\.[a-z0-9!#$%&'*+/=?^_`{|}~-]+)*@(?:[a-z0-9](?:[a-z0-9-]*[a-z0-9])?\.)+[a-z0-9](?:[a-z0-9-]*[a-z0-9])$"
Thanks!