You are here: Re: Complex replace in php 4 « PHP Programming Language « IT news, forums, messages
Re: Complex replace in php 4

Posted by Toby A Inkster on 05/02/07 08:06

Mike P2 wrote:
> Toby A Inkster wrote:
>
>> However, yours will replace:
>> <a href="...">my car is very fuel-efficient</a>
>
> Actually, it will not. '>' is not an accepted character in either
> character group.

Sorry -- hadn't noticed that you'd made "my car" the link target instead
of "car", which was what the OP had requested. OK then, yours will screw
up when it sees this as input:

<a href="...">and my car is very fuel-efficient</a>


--
Toby A Inkster BSc (Hons) ARCS
http://tobyinkster.co.uk/
Geek of ~ HTML/SQL/Perl/PHP/Python/Apache/Linux

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация