I must missed lots of CTF lessons.
How about adding another .replace('﹍','').replace('gi_frame', '') ?