You are here: Re: Preg_match and Preg_replace trouble regular expressions Please HELP! « PHP Programming Language « IT news, forums, messages
Re: Preg_match and Preg_replace trouble regular expressions Please HELP!

Posted by John Dunlop on 10/28/96 11:23

Somebody wrote:

> $pattern="/<\!-- #BeginEditable \"Title of Firmrecall\" -->.*<p
> align=\"center\">#### </p>/i";

a) Encode/escape the slash in your pattern; e.g., /<\/p>/.

b) Use different delimiters; e.g., `...`.

[Just probing, but why have you set the i modifier?]

--
Jock

 

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

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