Question : Help with regular expression javascript

I have this regular expression code which works great:

function emailformat(sText)
{
    var objRegExp = /^\w+([\-\.]\w+)*\@\w+([\-\.]\w+)*\.[a-z]{2,4}$/i;
    return (!objRegExp.test(sText))
}

The problem is that I was told that plus signs are allowed before the @ sign and this expression is not allowing it.  Can someone modify this so that it allows the plus sign?

Thanks

Answer : Help with regular expression javascript

Check this :

1:
2:
3:
4:
5:
function emailformat(sText)
{
    var objRegExp = /^\w+([\-\.\+]\w+)*\@\w+([\-\.]\w+)*\.[a-z]{2,4}$/i;
    return (!objRegExp.test(sText)) 
}
Random Solutions  
 
programming4us programming4us