I have data like
http:
stored in a text column. I thought non-greedy retrieval using
select substring(turl from '\..*?$') as ext from tdata
would give me .asp but instead it still ?greedelyleads to
.linz.at/politik_verwaltung/32386.asp
How can I combine only with the last appearance of a point .?
Using Postgresql 9.3
source
share