I'm looking to split space-delimited strings into a series of search terms. However, in doing so I'd like to ignore spaces within parentheses. For example, I'd like to be able to ...
Can regular expressions be used to match nested patterns?
In java, I'm trying to write a regular expression that will match a unit within a mathematical expression, i.e. things that are between operators
What I mean is, in an expression like ...
What is the regular expression for matching '(' in a string?
Following is the scenario :
I have a string
str = abc(efg);