I need to find all strings containing double letters in positions from 4th to 10th inclusive.
I can find all double letters by
'([a-zA-Z])\1{1,3}';
and positions by
SELECT SUBSTRING(columnmame, 4, 9 ) FROM table;
but I do not know how to combine them?
so that the following examples are found:
Liverpool;
Sheffield Central.
but not
Arran.
thank you.