I'm trying to validate a text field but, I'm getting an error for the below regex expression.
if (!/^[a-zA-Z0-9\\\/\*+;&%?#@!^()_="\-:~`|[\]\{\}\s]*$/i.test(e.target.value)) { this.setState({ newFamilyName: e.target.value, });}
Do I need to add any more characters in the Regex so fulfill it.