javascript - I want to Find a string in java script -


i want search string in .txt files in 1 folder , return file namw. folder can have sub folders , string want search should passed parameter. ex want file name , locations have string 0754665477

how read text file in javascript

here can see how read files javascript.

once you have text in string variable, apply .search method.

http://www.w3schools.com/jsref/jsref_search.asp


Comments

Popular posts from this blog

javascript - AngularJS custom datepicker directive -

javascript - jQuery date picker - Disable dates after the selection from the first date picker -