0 Members and 1 Guest are viewing this topic.
inputText = inputText.replace(/[^A-Fa-f0-9]+/g,'').replace(/\s/g,'').replace(/\n|\r|\s/g,'').toUpperCase()
\s captures all linebreaks, tabs, spaces, etc. It's the same as [\r\n \t ... ].