innovator_
New Member
Explain the following 2 regular expressions. Where would they be used? What potential problems do you foresee in using them?
1. ^[a-zA-Z0-9]+([_.-]?[a-zA-Z0-9]+)?@[a-zA-Z0-9]+([_-]?[a-zA-Z0-9]+)*([.]{1})[a-zA-Z0-9]+([.]?[a-zA-Z0-9]+)*$
2. ^[^<>&~\s^%A-Za-z\\][^A-Za-z%^\\<>]{1,25}$
1. ^[a-zA-Z0-9]+([_.-]?[a-zA-Z0-9]+)?@[a-zA-Z0-9]+([_-]?[a-zA-Z0-9]+)*([.]{1})[a-zA-Z0-9]+([.]?[a-zA-Z0-9]+)*$
2. ^[^<>&~\s^%A-Za-z\\][^A-Za-z%^\\<>]{1,25}$