Beefy Boxes and Bandwidth Generously Provided by pair Networks
The stupid question is the question not asked
 
PerlMonks  

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
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?

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

        I really doubt that.

      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.

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others cooling their heels in the Monastery: (2)
As of 2014-09-20 15:22 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    How do you remember the number of days in each month?











    Results (160 votes), past polls