Problem: I have to match all these opening tags: <p> <a href="foo"> But not of these: <br /> <hr class="foo" /> I made the rejex and wanted to make sure I got it right. I just catch her from the a-z. <([a-z]+) *[^/]*?> I think it says: ... spaces, then Find any character zero or more times, greedy, except /, then Find a greater than I have done well? And what is more important, what do you think?
asked
Feb 12
sasha
8.4k points