Need to validate email addresses using Work Fusion.
Take string input from the user and check if it is valid email id or not.
A valid email address should meet the below criteria.
- Only 1 @ should be present
- After @ there should be 1 dot(.) present
- After the last dot, there should be at least 3 characters
- Should not contain blank spaces
Valid email address firstname.lastname@example.org
Invalid Email address abc@@gmail.com
ab c@ gmail. com