I am trying to check TextEdit to really contain an email address. I have a regex for this, but it checks for multiple addresses, and I just want to check only one address, no more.
Here you are an expression:
/^[_a-z0-9-]+(.[_a-z0-9-]+)*@[a-z0-9-]+(.[a-z0-9-]+)*(.[a-z]{2,3})$/
He checks for something like this:
yulien.paz@cav.desoft.cu, wcampbell@cav.desoft.cu
I need to take a second email address from TextEdit.
So how can I do this?
Note: I'm sorry, my English.
source
share