Unless you made a typo or missed out something, step 2 is not working.
Here's my code, using the one you gave me:
.timer1 1 10 msg %chan Hint: $regsubex(%answer,/[^ [!"\#$%&'()*+,\-./:;<=>?@\[\\\]^_‘{|}~]]/ug,*)
And it's returning this:
Hint: /[^ [!"\#$%&'()*+
I'm unable to trouble-shoot it because, like I said in the beginning of this thread, I've only learned basic scripting enough to create my own simple Trivia script. I know nothing about complicated identifiers like $regex or $regsubex.