![]() |
regex chracter matching once
trying to create a matcher for finding if title is not correct i.e. has to be mr, mrs, miss etc..but this allows mrmrmr etc when it should not. tried different setups to keep failing i.e. [[]] or (). public void valTitle(){ //validate title while (this.title.matches("^[\\s]+$") ...
|
| All times are GMT -4. The time now is 01:47 AM. |
Powered by vBulletin®
Copyright ©2000 - 2026, Jelsoft Enterprises Ltd.