PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!
I have two patterns, the first tag is recognized, but not the second. The result goes beyond the closing tag. I tried everything, but can't get it right.
If it's not too much trouble, could you post some of your code and some examples of strings that aren't matching? I'm not sure why the first pattern would work, but the second wouldn't unless there was something else happening in the code.