Beefy Boxes and Bandwidth Generously Provided by pair Networks
Clear questions and runnable code
get the best and fastest answer

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\"?>'

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 all is quiet...

How do I use this? | Other CB clients
Other Users?
Others taking refuge in the Monastery: (2)
As of 2018-01-21 11:55 GMT
Find Nodes?
    Voting Booth?
    How did you see in the new year?

    Results (228 votes). Check out past polls.