Test a String Contains [A-Z], [a-z] or [0-9] in Server Action

Is there a straightforward way to test a string in a Server Action to check it only contains [A-Z], [a-z] or [0-9]?

Community Page
Last updated: