in reply to Re: Re: Regex question: Is there a better way?
in thread Regex question: Is there a better way?

Your problem here is that you need to ignore quotes like:

HREF="http://whatever" target="blank"

being picked up. First you need to strip the HTML.

Then run a reg exp on what's left that suit's your needs. If you're sure all quotes are 'well formed' (ie they each quote is closed), you can use something as simple as:

/"([^"]*?)"/g

Is this more helpful?

cLive ;-)