Anyone have a solid regex to validate member names? I’m creating a new implementation…
I’m not a regex expert, but here is what I came up with.
Note: Doesn’t include the “not recommended” characters.
/^@?[a-z0-9]+([\-\_][a-z0-9]+)*$/i
Anyone have a solid regex to validate member names? I’m creating a new implementation…
I’m not a regex expert, but here is what I came up with.
Note: Doesn’t include the “not recommended” characters.
/^@?[a-z0-9]+([\-\_][a-z0-9]+)*$/i