|
|
String.match() javascript - Javascript
|
Views : 427
|
|
Tagged in : Javascript
|
|
|
Report This Scrap as Inappropriate We request you to choose the appropriate categroy and subcategory that suits your
objectionable concern about the scrap, So that our team can review and find out whether it violates our Guidelines or the
scrap is not suitable for all viewers.
|
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 |
|
|
|