Beefy Boxes and Bandwidth Generously Provided by pair Networks
No such thing as a small change

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 scrutinizing the Monastery: (5)
As of 2016-04-29 04:26 GMT
Find Nodes?
    Voting Booth?
    :nehw tseb si esrever ni gnitirW

    Results (438 votes). Check out past polls.