CGI/Perl Guide | Learning Center | Forums | Advertise | Login
Site Search: in

  Main Index MAIN
INDEX
Search Posts SEARCH
POSTS
Who's Online WHO'S
ONLINE
Log in LOG
IN

Home: Perl Programming Help: Beginner:
help with strip

 



zradu
New User

Dec 22, 2010, 3:57 AM

Post #1 of 1 (592 views)
help with strip Can't Post

 
I want to remove all links to provideo.ro (including characters between nbsp) from :

---------------------------------------------------------------------
<a class="navs" href="http://www.provideo.ro/catalogs/product.aspx?imdb=tt0183505&type=DVD" target="_blank">Eu, cu mine şi Irene&nbsp;DVD</a></span>&nbspşi&nbsp;<span class="mtxt"><a class="navs" href="http://www.provideo.ro/catalogs/product.aspx?imdb=tt0183505&type=BD" target="_blank">Blu-ray</a>
-----------------------------------------------------------------------

I tried: $data =~ s|<a class=\"navs.*?</a>||g;

but remain this characters: ----şi----- (from &nbspşi&nbsp;)

I want to delete them.

Please help me.


(This post was edited by zradu on Dec 22, 2010, 9:15 AM)

 
 


Search for (options) Powered by Gossamer Forum v.1.2.0

Web Applications & Managed Hosting Powered by Gossamer Threads
Visit our Mailing List Archives