Skip to content
Advertisement

Tag: text-parsing

Parse string in javascript

How can I parse this string on a javascript, var string = “http://www.facebook.com/photo.php?fbid=322916384419110&set=a.265956512115091.68575.100001022542275&type=1”; I just want to get the “265956512115091” on the string. I somehow parse this string but, still not enough to get what I wanted. my code: returns: Answer http://jsbin.com/anuhog/edit#source

Advertisement