MDL-44375 tinymce: Fix regex to use same word counting criteria as Moodle

Signed-off-by: Tony Butler <tonyjbutler@gmail.com>