You are here: need help with RegEX « PHP Programming Language « IT news, forums, messages
need help with RegEX

Posted by Super Mango on 09/25/17 11:37

Hi,

I want to change a given string in a way that:
1) all invisible chars (like ALT+0254) will be changed to spaces
2) all sequence of several whitespaces will be changed to a single
space.
3) leading and trailing spaces will be canceled (I know how to do that
with trim, so this is only nice-to-have)

I cant limit the string to a-zA-Z0-9 because that every visible char is
OK (it's a multi lingual site).

Any idea?

Thanks in advance!

 

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

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