I am trying to construct a pattern in order to use in validation.
My goal is to have the first character to be a letter or a number, the rest anyhing.
i.ex:
- A’r4nd0m!
- 9!h3ll0.
- b1llin6s
I thought of: [a-zA-Z0-9_/][.*]++
What would be the solution?
Thank you!
As I’ve commented, a letter or a number is
[\pL\pN]. Therefore a string beginning with one of those would match the pattern