String.match() javascript - Javascript Views : 427
Tagged in : Javascript
0 0
Send mail
String.match() javascript:

The match() method searches the string for the regular expression passed to the method.
var str="Rain Rain Go Away";
var patt1=/ain/gi;
document.write(str.match(patt1));


By Ramya, On - 2010-02-06



    Login to add Comments .