Use regex.test instead of string.match in <wbr> removal