Regex substitute script for hubot