Is there a function in php to search a string and find a sub string based on it being between two defined character sets?
I am trying to search through a few files using a php script and grab a string from them.
the string i need is a URL, each file has a string that looks like this with a different url inside
/A << /URI (https://www.website/custom_ url_per_file)
/S /URI >> //an actual linebreak in the code
I have all the files opening in a foreach loop, so how can i extract the url between the 2 strings $a and $b?
$a = /A << /URI
$b = /S /URI >>