Update regwithnumbersandchars.js

Escaped all the special characters. Got rid of the "|" special char as it seemed to create a problem in the key. Deleted mistake: The "~" was used twice in the key. Changed how values are output, replaced .innerHTML with .value  exemple: "document.getElementById('name').innerHTML = name;" became "document.getElementById('name').value = name;" The reason to the change is that it seemed to be a problem with IE, not with Firefox and Chrome. 
When using .innerHTML instead of .value, IE made it impossible for the user to select the output, it was displayed as a placeholder instead of actual content.