Safia Abdalla 0 Newbie Poster

I was curious about the workings of extracting URLs fro webpages. I did several searches for this subject online, and discovered that some people preferred using regular expression while others preferred using parsers. I would like to ask the Daniweb community what they prefer.

If you prefer a regular expression for extracting URLs from a web page, tell everyone why and give an example of one.

If you prefer parsing the page for the URL, tell everyone what parser you use, the language that that parser is for, and give an example of the syntax of this method.

For both responses, please tell the reason why.

Thanks for providing your opinions.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.