well, would be great if you could tell me your current regex abilities.. do you understand the syntax i've used or have you not begun to learn it yet? if you haven't then i suggest you make your way through some tutorial, such as the one on http://www.regular-expressions.info . read, experiment and become comfortable with the basics and what you see above. then i'd be happy to explain how they work if you still can't figure them out

explaining them to someone without at least a little familiarity with regex would be a waste of time, you need to learn the fundamentals ;P


"The only excuse for making a useless script is that one admires it intensely" - Oscar Wilde