|
Subject:
|
reg ex help
|
|
Posted By:
|
swarnap
|
Post Date:
|
1/8/2007 1:38:49 AM
|
I want a regular expression such that it will not allow " and ' in a text.
|
|
Reply By:
|
vinod_yadav1919
|
Reply Date:
|
1/8/2007 7:24:22 AM
|
Hi Swarnap!! <script> reg1=/and/ str="re1nd 1ndu" if(reg1.test(str)) { alert("Match") } else { alert("Not Match") }
</script> Hope this will help you
Cheers :)
vinod
|
|