(Elementary user)
Hello,
Can anyone help me with the correct syntax for a regular expression?
Part of the script I am writing must evaluate the user's email address against a regular expression and it must be:
'any user' @ 'any country' followed by 'acme.com':
someuser@country.acme.com
[A-Za-z0-9._%+-]+@[A-Za-z]+\.[acme]{4}+\.[com]{3}
Is my approach correct?
Best regards
Hello,
Can anyone help me with the correct syntax for a regular expression?
Part of the script I am writing must evaluate the user's email address against a regular expression and it must be:
'any user' @ 'any country' followed by 'acme.com':
someuser@country.acme.com
[A-Za-z0-9._%+-]+@[A-Za-z]+\.[acme]{4}+\.[com]{3}
Is my approach correct?
Best regards