Beefy Boxes and Bandwidth Generously Provided by pair Networks
XP is just a number

Re^2: Help with RegEx

by mr_p (Scribe)
on Jul 01, 2010 at 16:09 UTC ( #847542=note: print w/ replies, xml ) Need Help??

in reply to Re: Help with RegEx
in thread Help with RegEx

Thanks so much.

Is there a way I can get href in one step process or I have to do another step of regex for it.

The results are weird...It is stripping off everything after style sheet in this line '<?xml-stylesheet href=\"perl1.css\" type=\"text/css\"?>'

Comment on Re^2: Help with RegEx
Replies are listed 'Best First'.
Re^3: Help with RegEx
by Corion (Pope) on Jul 01, 2010 at 16:18 UTC

    Maybe you want to use a proper HTML parser, like HTML::Parser instead?

      It takes close to 500ms. If I can do it though RegEx isn't that less of hassle.

        But you obviously can't do it through regular expressions.

      But, I noticed it takes really long to load into HTML.

        I really doubt that.

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://847542]
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others perusing the Monastery: (7)
As of 2015-11-27 11:40 GMT
Find Nodes?
    Voting Booth?

    What would be the most significant thing to happen if a rope (or wire) tied the Earth and the Moon together?

    Results (726 votes), past polls