I realise this is not the ideal group, because there doesn't seem to\nbe a regular expressions group but since most Perl developers use\nregular expressions I'm hoping someone will know! I use regular\nexpressions a lot but I have come accross a request that has me\nstumped. The following needs to be done in a single regular\nexpression:-\n\nValidate length to a minimum and maximum number of characters\nMust contain at least one vowel\nMust not contain any numbers\nMust contain no more than 2 adjacent repeated characters (so aa is OK,\nbut aaa is not)\n\nI can write a single regular expression to do 2 of those but I cannot\ncome up with a single regular expression to do all 4. Is it actually\npossible? I realise it could easily be done with several expressions\nand an "and" statement (and probably faster too), but this needs to be\nplugged in to an application that accepts only a single regular\nexpression.\n\nThanks.\nJon.