I'm looking for a simple javascript regex that should match strings like
AAAA(abcd,6)
AAAA(WXYZ,2)
but should not match strings like
AAAA(abcd,6,9)
I've come up withe the regex
AAAA\(.*,\d\)
but it matches all three of above.
Any help is much appreciated!
Thanks in advance!