javascript - Regular expression to search for at least 2 letters per line -


please tell me regular expression search @ least 2 letters in string. letters can anywhere , in case.

minimum of 2 letters in string.

example (javascript):

/someregex/i.test(' w89u7'); /*should return true*/ /someregex/i.test(';te1  53#-00'); /*should return true*/ /someregex/i.test('232 3!4-22-1r*7'); /*should return false*/ 

ps: , sorry english.

try using this:

/[a-z].*?[a-z]/i 

Comments

Popular posts from this blog

c++ - Creating new partition disk winapi -

Android Prevent Bluetooth Pairing Dialog -

VBA function to include CDATA -