I need a little bit of code that can take a string:
It needs to decipher if the string contains the "/images/banners/", end in ".gif" and capture the contents, replacing "_"s for spaces.
so the output of this should be "chocolate time"
it also needs to do some testing to make sure the 2 conditions are true so that if the string isnt that then it can do something else...
Maximum points because I need it fast but I also want to learn. Bonuses for people going the extra mile.