I have a string similar to the following
circles_b2_test_20130206_rem01_toy.jpg
I'd like it to look like
circles_b2_test_20130206_toy.jpg
How can I remove only the "rem01" phrase? The numbers after rem are always changing but I always want to remove "rem" + 2 characters.