Use replace (1 line) instead of find (3 lines)