![]() |
Define complex Regular Expression
Hi,
I want to create a regular expression for the username field on registration, that disallow users from using certain words, and some characters limitations. By seaching the forums I have found some expressions that could help me, but I'm not sure about the right way to combine it together. This regex works alone: Code:
(?!^term1$)^.+$ Code:
(?!^term2$)^.+$ Code:
^[a-zA-Z0-9 _-]+$ I want to know how to merge all these three together. Can someone help me? Thank you :) |
bumping..
Anybody can help and tell me how to merge all these three together? |
All times are GMT. The time now is 01:21 AM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|