figgyc's stupid simple tech checker

Click for instructions

Basically this website lets you write a "check" (some boolean expression) in JavaScript and then type a string and see if it passes the check or not.
This website is designed for "Ten Words of Wisdom" internet word games, where you have to write a written response to some prompt. Often a "technical" restriction is placed on the response, for example not being allowed to use certain words. Or something way more complicated than that. But you can use it for whatever.

How to write a tech check: Type JavaScript in the top box, use the variable r to get the content of the response box. The bottom box is to write notes like a prompt. If it returns false the response box turns red, if true it stays black. Also there's a word count.

Tip: You can share links with a predefined tech. Change w=11 or c=0 for a custom word and/or character count, 0 is off.

Example (EWOW 10): "You CANNOT use the letters I, L, and O in either uppercase or lowercase, and you CANNOT use the numbers 0 and 1."

!(/[ilo01]/i).test(r)

Yes this website evals JavaScript from a textbox. Yes that is kinda stupid. If it's any consolation it is open source.