Beefy Boxes and Bandwidth Generously Provided by pair Networks
Welcome to the Monastery
 
PerlMonks  

Re: Re: Re: Search and replace in html

by LameNerd (Hermit)
on May 09, 2003 at 03:48 UTC ( [id://256759]=note: print w/replies, xml ) Need Help??


in reply to Re: Re: Search and replace in html
in thread Search and replace in html

The output is ...
asdfasdf asdfasdf asdfasdfasdfasdf blah foo bar asdfasdf asdfasdf
What's wrong with that? It got rid of the html tags?
I think that is all Anonymous Monk wanted to accomplish.
That is also why I stated in my original post ...

Do you want something like this?

Replies are listed 'Best First'.
Re: Re: Re: Re: Search and replace in html
by Limbic~Region (Chancellor) on May 09, 2003 at 12:49 UTC
    LameNerd,
    From the original post:
    $TheLine =~ s/<html>([^\n]*)<\/html>/$1/i;

    The anonymous monk appears to want was it between the HTML tags.
  • You have included what is before and after
  • You have not included a fake html tag

    It doesn't really matter - it just doesn't look like what the anonymous monk was after

    Cheers - L~R

      What can I say your right! ++ to you

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others wandering the Monastery: (3)
As of 2024-03-29 02:20 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found