RegExp and Cookies
Word input:
Text input:
Output: