in reply to Regular Exp. Problem!

You should probably look at the following thread since your input looks amazingly similar: Parsing String