loyal Posted September 30, 2005 Posted September 30, 2005 hi all how can I know which group dismatch in holl Pattern this pattern searches for 3 words or more, that consist of 2 or more letters "(\b([A-Za-z]){2,}\s?){3,}\b" Now in real example , suppose that the user enters " Bill S " I want to dispaly that "Each word must consist of 2 or more letters " I can only do that if I know how I can get the group failure . that for reading. Quote Gary Says: To be a good programmer, you must be good at debugging
IngisKahn Posted October 1, 2005 Posted October 1, 2005 Not sure what dismatch and holl mean but... RegEx.IsMatch(...) should do what you need. Quote "Who is John Galt?"
pelikan Posted October 23, 2005 Posted October 23, 2005 why not look for failures? (also consider a good ESL course with emphasis on spelling) Quote IN PARVUM MULTUM
loyal Posted November 20, 2005 Author Posted November 20, 2005 Correction words Hi , sorry for that I meant mismatch ( does not match) and ,, heee hole means whole (*&*) poor english let me explain something.. I want to display to the user which part of his/her entries was wrong,that's it. So, is there anyway to get (which group failed ) and return false Does anyone know that? Quote Gary Says: To be a good programmer, you must be good at debugging
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.