I need to replace some of characters from email addresses. For example :
If my email address is : [email protected] , the output should be :
[email protected] <-- removed '.' before '@mydomain.com'
Again if my email address is [email protected], the output should be :
[email protected] <-- removed '.' and '+' before '@mydomain.com'
Hence, expecting some of the chars ( like '.','+' etc ) before @mydomain.com should be removed. While I am seeing that I can use REGEXP_REPLACE to replace those chars, getting hard time to understand how to include the constraint that the replacement has to be in the substring before '@'.
May I get any help?