I have the following string example:
'NAME: "test1", DESCR: "AAA 1111S ABC 48 BB (4 BBBB) TEST1 "'
i am trying to extract out "AAA 1111S" but am struggling to know what i am doing wrong in the regex?
the regex i am using is below, i thought it would work based on the first space then 2nd space plus remaining chars in string.
^.+(AAA\s.+)\s.+"$
but it will only pull out the following:
AAA 1111S ABC 48 BB (4 BBBB) TEST1