I've been trying to match with regex all alphanumeric characters, except for the underscore.
I'm currently using r"^[a-zA-Z0-9]*"
, but I wondered if it was possible to use \w
and exclude _
.
Thanks!
I've been trying to match with regex all alphanumeric characters, except for the underscore.
I'm currently using r"^[a-zA-Z0-9]*"
, but I wondered if it was possible to use \w
and exclude _
.
Thanks!