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

Поиск
Список
Период
Сортировка
От Saurabh Agrawal
Тема Re: Regex for Word space Word space Word ....
Дата
Msg-id CAL1UH0t4w580Nzek2eqM2YXgW5HZuoTr+NsxYGKRz3zgRp_dHg@mail.gmail.com
обсуждение исходный текст
Ответ на Re: Regex for Word space Word space Word ....  (Shaozhong SHI <shishaozhong@gmail.com>)
Список pgsql-general

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@gmail.com> wrote:
On Tue, Nov 23, 2021 at 11:51 AM Shaozhong SHI <shishaozhong@gmail.com> 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

В списке pgsql-general по дате отправления:

Предыдущее
От:
Дата:
Сообщение: PQexecParams, placeholders and variable lists of params
Следующее
От: Andreas Joseph Krogh
Дата:
Сообщение: Re: Regex for Word space Word space Word ....