How do I find a string start and end position from a string. Is there a way to search the "m" and "g" coordinats or char position? given that there maybe multiple values. so far only upto start.
Find: myname.jpg
<img src="myname.jpg" id="men">
var start = x.indexOf("myname.jpg");
//10