I'm beginner to php and I have no Idea how to solve this.
I have text file that contains paragraphs and links, this is an example from text file:
$string = ("Lorem 'Ipsum' is simply: dummy 'http://www.exmplelink1.com/blah/blah/file 1 b.txt' text of the printing 'http://www.exmplelink1.com/blah/blah/file 1 c.txt' and typesetting industry. Lorem Ipsum 'http://www.exmplelink2.com/blah/file.txt' has been, the 'industry's standard'");
please notice that there are many single quotes and two domain names in the string: exmplelink1 and exmplelink2
how do I only get exmplelink1 links (the complete link between single quotes) there are two links in this case:
'http://www.exmplelink1.com/blah/blah/file 1 b.txt' 'http://www.exmplelink1.com/blah/blah/file 1 c.txt'
thank you for your help :)