| Title |
Test
Find
UserId
|
| Expression |
(?!^([0-9]+)([[\\s]*]?)$)(?!^([0-9]+)[[a-zA-Z]*]?([[\\s]*]?)$)^([_]?([a-zA-Z0-9]+)([[\\s]*]?))$ |
| Description |
This regular expression validates for a user id. The expression was built by keeping the rules of defining a variable in c++. |
| Matches |
_x, _x2, _123, _123x, xyz |
| Non-Matches |
123, 123x, spaces, special chars |
| Author |
Rating:
Not yet rated.
Saqib Rasheed
|
| Source |
|
| Your Rating |
|