Validate email and url using RegEx