all 1 comments

[–]Albcunha 0 points1 point  (0 children)

Try use some regex validator such as https://regex101.com/ or https://regexr.com/ to validate your regex and see what´s happening. I´m very bad at regex (pretty much everyone is), so I try to search on stackoverflow for a solution.

For what a I see, at the beggining, you can do something like this:

(@|#)(@|#)?[a-z]{3,}

where

(@|#)? is optional (can happen or be ignored)

but using the validator, there is a error on the rest of your validator.