i want to know something about RegEx, yeah I'm a new ReGex user. Okay here is my problem. I have a string like this
< a href = 'howdy.html' class = 'pt-nght' >
and I want to get an array that contains
array[0] = "href = 'howdy.html'"
array[1] = "class = 'pt-nght'"
I tried to use this ReGex
[^<\s*(.*)]\s*(.*)\s*=\s*(.*)\s*[^>]
but the result seems to be far away from what i expect. Or may be there is any other technique ? Thank you :)