Email validation using ruby
The following piece of code validates any email that ends with .com, .edu, .org or any three letter extension. It uses regular expressions to find a match.
The following piece of code validates any email that ends with .com, .edu, .org or any three letter extension. It uses regular expressions to find a match.