I am trying to remove the invalid characters in the given email address. I have tried using the below expression to remove the invalid character
select regexp_replace('test|_#test-123@test.com','[[:cntrl:]"#|$%]')
from dual
Expected result : test_test-123@test.com
the above is working but still I need some help to validate the regexp values. Or do we have any other method to remove the invalid characters using oracle query.
Many Thanks Anna