With pleasure.
My English is not so good,so I paste the code directly:
//copied from http://www.webtoolkit.info/javascript-trim.html
function trim(str, chars) {
return ltrim(rtrim(str, chars), chars);
}
function ltrim(str, chars) {
chars = chars || "\\s";
return str.replace(new RegEx
Hi Kuo Yang, *
*
*Thanks for your reply.*
*I am doing the same thing, but if i am entering any other charecter like (
_ | ) ( ] [ )*
*instead of comma, so its considering as a string & after that not able to
validate it.*
*
*
*I am writing this kind of functions to validate my multiple email value
Hi Kuo Yang, *
*
*Thanks for your reply.*
*I am doing the same thing, but if i am entering any other charecter like (
_ | ) ( ] [ )*
*instead of comma, so its considering as a string & after that not able to
validate it.*
*
*
*I am writing this kind of functions to validate my multiple email value
You can split the Emails with the comma, and then validate them one by one.
On Thu, Jul 23, 2009 at 9:49 PM, Mohd.Tareq wrote:
>
> Hi Guys,
>
> Can any one tell me validation ' *Email Validation for multiple emails
> (comma separated)* ' for textarea.
>
> I am writing Regular expression but not
4 matches
Mail list logo