i have this link output from a facebook feed:
http://l.facebook.com/l.php?u=http%3A%2F%2Fwww.theguardian.com%2Ftravel%2F2014%2Fapr%2F25%2Fitaly-puglia-salento-region&h=2AQF4oNrg&s=1
and i need the final ouput like this:
http://www.theguardian.com/travel/2014/apr/25/italy-puglia-salento-region
so basically i have this bit to remove:
http://l.facebook.com/l.php?u=
i was trying a regex in javascript but not very familiar with it:
Body = document.getElementsByTagName("body")[0].innerHTML;
regex = ???
Matches = regex.exec(Body);
any ideas on how to make it work?