I want to validate email format with name that can handle both patterns
Valid
[email protected]
test user <[email protected]>
test user<[email protected]>
"test user" <[email protected]>
"test user"<[email protected]>
Invalid
"test user" <[email protected]
"test user" [email protected]>
test user <[email protected]
test user [email protected]>
"test user <[email protected]>
test user" <[email protected]>
"test user" [email protected]
here's my progress: https://regex101.com/r/Q00McL/1