I am using regex expression for validation. after that i am using If condition so that i can do the action accordingly but i am not able to catch the regex result in my condition.
regex Result Var: validEmail
i printed validEmail.toString but for both cases it is getting printed as
i tried a lot but not able to get please help me out.
Thanks & Regards