How to remove \ from links I got from scraping.
Example:
https:\\/\\/graph.facebook.com\\/v1.0\\/159463177547058\\/photos?fields=source\u00252Cname&limit=100&after=MjA4MTA5NTMyNjgyNDIy
Is there any way?
Try feeding it into stripslashes()
.
$no_slashes_url = stripslashes("https:\/\/graph.facebook.com\/v1.0\/159463177547058\/photos?fields=source\u00252Cname&limit=100&after=MjA4MTA5NTMyNjgyNDIy");