From: William Djaja Tjokroaminata Date: 2003-01-29T08:23:45+09:00 Subject: Re: common regular expressions Mike Campbell wrote: >> Has anyone compiled a collection of 'common' regular expression >> patterns. For example: >> >> - valid email addresses > To be strictly pedantic, I don't think there is such a thing. For the truly > adventurous, consider bang-paths, %'s and the like which have all been valid at > one point or another. There was a big writeup/FAQ in the perl domain about this > very subject. Hi, Isn't this the very last example in the book "Mastering Regular Expressions" by Friedl, i.e., the Appendix B: Email Regex Program? (At least that is in the first edition.) Be careful though, because when the regex is expanded into its plain form, the regex size is 6,598 bytes long :) . Regards, Bill