In this example...
(5) (dogs) (5 dogs) (dogs 5)
I would like to only match to...
(5 dogs) -or- (dogs 5)
The numbers could be any number of digits, contain commas, decimal points, math operators, dollar signs, etc. The only thing I need to pay attention to is that there are both numbers and alpha characters present.
I started with this modification of an example provided by hrs using this for the RegEx...
\(((letter).*(number))\)|((number).*(letter))\)
to only capture this...
(number letter) -or- (letter number)
but not...
(number) (letter)
by modifying the expression to be...
\(((^[a-zA-Z]).*(^[0-9]))\)|((^[0-9]).*(^[a-zA-Z]))\)
...but obviously I don't know what I'm doing.