I'm fairly new to python and was looking for a way to remove all instances of a pattern, a % and the two characters following it, from a text string. I've read the docs on a few functions like str.replace, and filter() hoping for a way to do it. So far I've had no success.

I'm aware it's an ascii character, but as I can't forecast which character I might get in the future, this seems the way to go for what I'm doing.

...