I am really sorry to say this, but have you even bothered to get and look into Jeffrey Friedl's
Mastering Regular Expressions? You have asked a lot of similar questions along the lines of "I want to do this, please tell me how to do it".
The Monastery is a place for you to learn something by looking at the answers of specific questions, but is by no means a substitute for a good Perl/RegEx book or a tutorial. Browse through the
Tutorials section. Have a look at the
book reviews. And consider starting a new thread when you are asking a question that is not related to the thread you are replying to, especially if you are replying to a post that is already
56 days old.
Sorry if this was a bit harsh, but this is how I feel and I suppose I should at least inform you about it.
Have a nice day.
Cheers,
CombatSquirrel.
Entropy is the tendency of everything going to hell.