I read about the following article which talks about parsing html tag.. http://haacked.com/archive/2004/10/25/usingregularexpressionstomatchhtml.aspx/
I got confused about the usage of forward slash:
</?\w+\s+[\^>]*>
"Roughly Translated, this expression looks for the beginning tag and tag name, followed by some white-space and then anything that doesn’t end the tag."
Why doesn't < means left word boundary here?
What is /? I've searched the web. Some say / is special character, others do not even mention it.
Also how should I interpret [\^>]? any of \ ^ >? It does not make sense.
Could anyone explain this expression a little?