qwikad, it's perfectly okay to post your question here. It's on the same topic, after all, and it's your thread. Let me know if you want me to un-resolve the thread and restore your post.
*****
So, your problem is that the regex matches when newlines separate the tag into two parts, but not more than two, correct?new fiddleCode:works: <tag one> works: <tag two> breaks: <tag three breaks>
I have to admit, the only thing that occurs to me is adding additional, optional subpatterns in the middle of the regex.
This is not a solution, obviously, since you'll always be subject to a maximum of however many subpatterns you add.
I'll think about it. Anyone else have ideas?



Reply With Quote
.
Bookmarks