You are here: Re: [PHP] Regex to wrap <a href=""> tag around a <p> tag « PHP « IT news, forums, messages
Re: [PHP] Regex to wrap <a href=""> tag around a <p> tag

Posted by "Kristen G. Thorson" on 09/29/99 11:33

Shaun wrote:

>Hi M,
>
>Thanks for your help, the code works fine except if there is a line break in
>the html, for example
>this works
>
><p>test</p>
>
>But this doesnt
>
><p>test
></p>
>
>Any ideas?
>
>
>

See the last user contributed note from *csaba at alum dot mit dot edu
*at http://us3.php.net/manual/en/reference.pcre.pattern.modifiers.php,
particularly the last paragraph. He gives a very good explanation of
pattern modifiers that answers your question.


kgt

 

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

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