If my column has John1, John, Jo1hn, 1John..I must write a query which extracts only John i.e. no numeric digits at any place.
I already tried multiple options with regexp_like and below query came close
select * from table where regexp_like(column,'[^[:digit:]]+$');
But it is only eliminating John1 which has 1 as the last character, not the others.
Let me know if the question is not clear. Thanks in advance!
Let’s try this way:
OR