I have a URL:
And I want to match it using preg_match_all. My regex expression is:
preg_match_all('/(https://site.vid.com/.*",")/', $input_lines, $output_array);
But I am not able to match special character
u002F in above code. I tried using (escaping fuction). But it is not matching. I know it maybe a lame question, but if anyone could help me in matching
u002F or in escaping
u002F in preg_match_all, that would be helpfull.
I want to use only
preg_match_all because I am trying to extract above URL from a html page.