Blog
Developers
Careers
Support
Contact
Gossamer Threads
Solutions
Results
About
Mailing Lists
Resource Centre
Forum
Tools
Home
Who's Online
Tags
Favourites
Login
Forum Search
(
Advanced Search
)
This forum
This category
All forums
for
Home
:
General
:
Internet Technologies
:
how to delete some char form html ?
Previous Thread
Next Thread
Print Thread
View Threaded
Jan 4, 2003, 11:00 PM
freefly
New User
(1 post)
Jan 4, 2003, 11:00 PM
Post #1 of 5
Views: 11811
Shortcut
how to delete some char form html ?
$texts = eregi_replace("Can\'t find it?! <a href=\"
http://www.xxx.com
\"> Click here</a>", "", $text);
i try it , but errors
Jan 5, 2003, 2:36 AM
Paul
Veteran
(19537 posts)
Jan 5, 2003, 2:36 AM
Post #2 of 5
Views: 11653
Shortcut
Re: [freefly] how to delete some char form html ?
In reply to
Thats because eregi_replace is php code
So err are you actualy using perl or are you using php?
Jan 5, 2003, 3:43 AM
freefly
New User
(1 post)
Jan 5, 2003, 3:43 AM
Post #3 of 5
Views: 11664
Shortcut
Re: [Paul] how to delete some char form html ?
In reply to
I use PHP.
thanks your answer.
I konw the error now.
it should be
$texts = eregi_replace("can't get enough\?\! <a href=\"
http://www.xxx.com//\">click here</a
>", "", $text);
Jan 5, 2003, 4:02 AM
Paul
Veteran
(19537 posts)
Jan 5, 2003, 4:02 AM
Post #4 of 5
Views: 11637
Shortcut
Re: [freefly] how to delete some char form html ?
In reply to
I've moved your thread as this is the "Perl" forum.
Jan 5, 2003, 2:15 PM
Paul
Veteran
(19537 posts)
Jan 5, 2003, 2:15 PM
Post #5 of 5
Views: 11653
Shortcut
Re: [freefly] how to delete some char form html ?
In reply to
You probably don't need to escape ! and also was that extra forward slash in the URL just a typo..or?
Previous Thread
Next Thread
Print Thread
View Threaded