reference https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Regular_expressions/Character_class this would also need to remove the current use of ^ character which is used to combine two capturing groups together