I'm currently facing a small issue with my PHP code, and I was hoping you could help me out.
So, here's the thing: I have a variable that contains a large block of text, and I need to search for a specific value, but only within a single line of that text. I don't want to search through the entire block, just a specific line.
I've tried using functions like `strpos()` and `strstr()`, but they seem to search through the whole text rather than just a specific line. Is there a way to limit the search to a single line only?
I would really appreciate if anyone could shed some light on this. Thanks in advance!