Search Postgresql Archives

Re: Regex for Word space Word space Word ....

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



It only matches First Street from 'My First Street'.

I was trying to make it to match words starting capital letter only.

Regards,
David

On Tue, 23 Nov 2021 at 10:59, chlor <hans.schou@xxxxxxxxx> wrote:
On Tue, Nov 23, 2021 at 11:51 AM Shaozhong SHI <shishaozhong@xxxxxxxxx> wrote:
I tried nested regex  '[[A-Z][a-z] ]+[[A-Z][a-z]]' but it did not work.

[A-Z][a-z]+ +[A-Z][a-z]+

Try this instead
[A-Za-z]+ +[A-Za-z]+


And try also this editor to learn regex

./hans


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Postgresql Jobs]     [Postgresql Admin]     [Postgresql Performance]     [Linux Clusters]     [PHP Home]     [PHP on Windows]     [Kernel Newbies]     [PHP Classes]     [PHP Databases]     [Postgresql & PHP]     [Yosemite]

  Powered by Linux