JSToHTML: extend regex search.