I have a table called regions and column region which is not empty. There is a text in it, which is 'Tashkent'. I am trying to access it with expression input. Here is my code:
select * from regions where lower(region) ~ '[t]{1,}[k]{1,}';
As you can see, I am trying to get the word which contains letters t and k consecutively. According to my expression: [t]{1,}[k]{1,} above it should return text 'Tashkent', but not returning. Is my code correct. Can you suggest an alternative code to get word 'Tashkent' knowing that I have letters t and k?