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