Find the first occurrence of a non-alphanumeric character in a string
I know what I could use strpos
to find the first occurrence of a string. But is it possible to find the first occurrence of a character that is not an alphabetic character or a number.