Regex letters, numbers and underscores
Could anyone help me with mycode regex. It should only allow: letters, numbers and underscores, so:
a-z, A-Z, 0-9, _

At the moment I'm using this:
This user has been denied support. This user has been denied support.
\w is the letters, numbers and underscore expression.
so that would be,
Beep Boop          
                                          ~ RIP Server 2014-2014
Thanks, can you limit the number of characters as well?


Would that be correct?
Try this:


The pattern you posted would match too, but I personally prefer to wrap my capture groups for readability.

Forum Jump:

Users browsing this thread: 1 Guest(s)