Postgres Find String Python Replace Function Syntax