>Thanks Gregory - I don't think I'm cut out for RegExes :-)
It takes a couple of hours to get the feeling, and hours of practice (spread over the years). But one step at a time
My bible for .net regex =
http://msdn.microsoft.com/en-us/library/az24scfc.aspxAdvantages compared to vbscript
- Named subgroups
- positive/negative lookahead/lookbehind
- non-greedy quantifiers
If it serves any purpose - here's a presentation I've given last month
http://www.atoutfox.org/articles.asp?ACTION=FCONSULTER&ID=0000000748- It focusses on vbscript
- pages 6-20 can be used as a reference for vbscript
- the rest are some .net bits
- pages 24-25 is an example of a password regex with constraints (upper case, ...) It uses positive and negative lookahead
Gregory