This week's book giveaway is in the OCAJP 8 forum. We're giving away four copies of OCA Java SE 8 Programmer I Study Guide and have Edward Finegan & Robert Liguori on-line! See this thread for details.
Well. That depends.... Did you read up on regexes and figured out the solution yourself? Or did you simply got the solution from someone else? We can't really give you a hint on an "easier way" (assuming that there is one), if you don't understand this regex.
Joined: Sep 18, 2008
Hey thanks for your support,
Actually, I needed this regex somewhere in between my project.
As I had little time and as I am not an expert of regex, so tried to understand some basics of it.
I searched for the answer but could find only a close answer, so i modified it to suit my requirement.
My knowledge in regex is, I can only understand them but writing them on my own needs some more learning....