as you know when you write a regex code and you want it to go until something(matches) in a page source in php , it goes and matches the last one of that character or match in the page , and here is the problem i need to match it just to the first character and avoid it to go to the last one or even the second one and here is my piece of regex code
#<a href="/lyrics/[\s\S]{1,}/[\s\S]{1,}.html#
i need it to match the very first .html in the page just in the href in the a tag , but it matches the last .html in the page and puts it into the 0 section of my array tnx for helping ;)