File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Win a copy of
Node.js in Action
this week in the
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 ]
It is sorta covered in the
JavaRanch Style Guide
subject: Problem in regular expression for matching
how to split "abc-def - ghi-jkl"?
problem in writing Regular Expression
Comparing Values of multi dimensional array
How do I refresh a jtable after I delete a row?
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2014