I am trying to parse a string of HTML tag attributes in php. There can be 3 cases:
attribute=\"value\" //inside the quotes there can be everything also other es
Never ever use regular expressions for processing html, especially if you're writing a library and don't know what your input will look like. Take a look at simplexml, for example.