Regular Expression
-
Dear All, how can I prvent user from entering specific pattern such as "1111" , "5555" and "123456789" , usin regular expression control. In other word I don't want user to repeat the number 4 or 5 times in input box. Ex: 1111 wrong 5555 wrong 1246 right Thanks for reply...
-
Dear All, how can I prvent user from entering specific pattern such as "1111" , "5555" and "123456789" , usin regular expression control. In other word I don't want user to repeat the number 4 or 5 times in input box. Ex: 1111 wrong 5555 wrong 1246 right Thanks for reply...
(?:(?\d)(?=\k)){3,} This expression is true when it finds a number that is repeated at least 3 times. The number 1111329 contains the number one which is repeated 3 times. The above expression will not evaluate 111329 to have a match. I have not tested this expression by the way. George
-
Dear All, how can I prvent user from entering specific pattern such as "1111" , "5555" and "123456789" , usin regular expression control. In other word I don't want user to repeat the number 4 or 5 times in input box. Ex: 1111 wrong 5555 wrong 1246 right Thanks for reply...
Hi take a look of following link may you will get what you want, :) http://www.delorie.com/gnu/docs/emacs/emacs_97.html[^]