This issue happens because the regex isn't looking for whole words. So, the string 'sup' is matched and replaces with 'what is up'.
What should happen is that 'sup' is only found when the word is 'sup'. So your regex needs to search for '\bsup' and not 'sup'.