Archive for Ruby Regular Expression

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.


Comments (5)