You are here: Re: regex help needed, looking for spaces, line feed « All PHP « IT news, forums, messages
Re: regex help needed, looking for spaces, line feed

Posted by simon on 08/15/06 04:25

"Rik" <luiheidsgoeroe@hotmail.com> wrote in message
news:a6595$44dd157c$8259c69c$22485@news1.tudelft.nl...
> simon wrote:
>> Hi,
>>
>> I need to a regex to look for a string, (case insensitive), but
>> excluding spaces and returns
>>
>> So that something like,
>>
>> $mystring1 = "The House";
>> $mystring2 = "The Ho\r\nuse";
>> $mystring3 = "The Ho u\n se";
>
> Normally I'd say: "Why not remove all whitespace characters and then
> search?"
>

Thanks for the code.

Simon

 

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

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