You are here: Re: [PHP] Regular expression question « PHP « IT news, forums, messages
Re: [PHP] Regular expression question

Posted by Leon Vismer on 08/11/05 17:11

Hi

> Just a quick note; why dont' you search on "user" since it's the constant
> and replace 'user[A-Z]' with 'user_[a-z]' or in the case of userID
> 'user[A-Z]{2}'

This is part of my problem user will not always be constant, I basically want
to be able to change between two naming conventions.

Example:

userID becomes user_id
clientID becomes client_id
tableName becomes table_name
anotherTableName becomes another_table_name
etc.

Thanks
--
Leon

 

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

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