This week's giveaway is in the EJB and other Java EE Technologies forum. We're giving away four copies of EJB 3 in Action and have Debu Panda, Reza Rahman, Ryan Cuprak, and Michael Remijan 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....