I have a string: "www.google.com.sdg.jfh.sd"
I want to find the first ".s" string that is found after "sdg".
so I have the index of "sdg", by:
var start_index = str.indexOf("sdg");
now I need to find the first ".s" index that is found after "sdg"
any help appreciated!