Re: [PHP] Regular expression for correcting proper nouns

2002-07-17 Thread Jason Wong
On Wednesday 17 July 2002 20:07, Henry wrote: > Hi All, > > I'm looking for a simple was to correct a list of proper nouns given all in > lower case! > > For example > > given $string="london paris rome"; > > I would like "London Paris Rome". > > However there is one cavet; if the word already has

[PHP] Regular expression for correcting proper nouns

2002-07-17 Thread Henry
Hi All, I'm looking for a simple was to correct a list of proper nouns given all in lower case! For example given $string="london paris rome"; I would like "London Paris Rome". However there is one cavet; if the word already has a captital anywhere in it, it should be left alone!!! Is there