Postgresql Substring Between Two Strings Skeleton