Also, are these values encoded? For example hello%20
In this case you can run:
update table_name set field_name = trim(BOTH '%' FROM field_name);
This will remove just %
if you have other codes, as example an encoded empty space %20
, you have to change it to:
update table_name set field_name = trim(BOTH '%20' FROM field_name);