should "remove" all lowercase letters from ExtraChars (replace with empty strings).
If ExtraChars is: "5?" it removes all.
---
Actually, the complete thing I would need is a regex expression to accept any letters and special characters passed by the user (ExtraChars parameter).
I understand that given a string str str.replace(/\s/g,''); will remove all spaces in a string. How can I remove all characters that are not lower case letters from the string?