Re: Regular expressin



From: "Manasi Bopardikar" <manasi_bopardikar@xxxxxxxxxxxxxxxx>
Anyone knows regex for---<option value="ACE ">Athletic Coaching Education
(ACE )</option>

If it's HTML use HTML::Parser or some other HTML parsing module, if
it's XML use XML::Rules, XML::Twig, XML::LibXML or some other of the
tens of XML parsing modules. But do NOT attempt to parse neither HTML
nor XML with regexps. It's fragile and much more complex than it
looks at the first glance.

Jenda
===== Jenda@xxxxxxxxxxx === http://Jenda.Krynicky.cz =====
When it comes to wine, women and song, wizards are allowed
to get drunk and croon as much as they like.
-- Terry Pratchett in Sourcery

.