Hi guys please help me with this.
i have some issue regarding some email validation that doesn't match my regex. What's my issues all about was i think are \n or \r but when i try
var count = $("input#email_address").val().length;
Got the result of 25 when copy from excel to my text box VS Manual input with the same text and the result is 24 characters.
var str = $("input#email_address").val().replace(/\r?\n/g, "");
i tried this and trim() and match to find \r \n or whitespaces but return null.