PostgreSQL Замените теги HTML с строки

select regexp_replace(content, '<[^>]+>', '') from message;
Disgusted Dolphin