Function to detect the JSON code on facebook ad websites that contains the media URLs
This is basically str_extract but with perl!
Usage
detectmysnap_dep(rawhtmlascharacter)
Arguments
- rawhtmlascharacter
Raw HTML content as character string.
Value
A parsed JSON object.