regular expression to accept alphanumeric and underscore code example Example: regex to identify numeric and alphanumeric "^[a-zA-Z0-9_]*$"