>One another question is that does AppleScript take Regex? It doesn't. Regular expressions (Regex) are only useful with languages or applications like BBedit which included them. One way to use regular expressions within AppleScript is to use the command line and something like awk or sed which are UNIX tools built into the OS.
The best book for an introduction into regular expressions (in my opinion) is the Sams Teach Yourself Regular Expressions in 10 Minutes by Ben Forta. If you want more than an introduction there is no other source than: Mastering Regular Expressions by Jeffrey, E. F. Friedl > I am not > AppleScript guy either, tho, but a couple books I skimmed through on > AppleScript didn't mention it. Because it doesn't use regular expressions. Wayne -- "Success usually comes to those who are too busy to be looking for it" - Henry David Thoreau Live DAT & Music Page: http://homepage.mac.com/wayneb/ Wayne's Music Calendar: http://ical.mac.com/wayneb/Music PowerMail AppleScript Archives: http://www.ctmdev.com/tools/ Music Currently playing:

