I want to use PHP to check, if string stored in
variable contains a valid link syntax or is it just a normal text. The function or solution, that I'm looking for, should recognize all links formats including the ones with GET parameters.
A solution, suggested on many sites, to actually query string (using CURL or
function) is not possible in my case and I would like to avoid it.
I thought about regular expressions or another solution.