Cleaned up the replacement code in redditfy (uses regexs now)