Re: Need regular expression help



On Nov 16, 4:09 pm, meyousikm...@xxxxxxxxx wrote:
So that I can use String[] mystring.split("regexp") in Java, can
someone give me the regular expression to split this string:

(0, 0.0.0.0-0.0.0.0), (1, 1.1.1.1-1.1.1.1), (2, 2.2.2.2-2.2.2.2)

into this:
(0, 0.0.0.0-0.0.0.0)
(1, 1.1.1.1-1.1.1.1)
(2, 2.2.2.2-2.2.2.2)

TIA

Would this:
(\(.+\))\, (\(.+\))\, (\(.+\))
work for you?
.