I am trying to have a clientside check, if an entered value:
I came up with following code
Use the split() function,
emailID.split("@")[1]