A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Java in General
Problem in regular expression for matching
Joined: Sep 06, 2005
Sep 06, 2005 05:27:00
For the example below, can I write a regular expression to get key, value pairs.
example: ((abc def) (ghi jkl) (a ((b c) (d e))) (mno pqr) (a ((abc def))))
in the above example
abc is key & def is value
ghi is key & jkl is value
a is key & ((b c) (d e)) is value
and so on.
can anybody pls help me in resolving this problem using regular expressions...
Thanks in advance
[ September 06, 2005: Message edited by: Michael Ernest ]
Don't get me started about those stupid
subject: Problem in regular expression for matching
Comparing Values of multi dimensional array
how to split "abc-def - ghi-jkl"?
How do I refresh a jtable after I delete a row?
problem in writing Regular Expression
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2014