in 1 post, 1 voice
Because "/\w+/" @ innerHTML.match(/\w+/)[0]; only dectects spam/draft spelled with characters from a-z. Better is to use: /[^\u0028\u0029]+/ Detects all but "(" and ")" or /[^\s]+/ Detect all to first space character.
"/\w+/"
innerHTML.match(/\w+/)[0];
/[^\u0028\u0029]+/
/[^\s]+/
<code>
<pre>
<
>