I want to match + except when it is between double quotes. Meaning i want "anystring"+ to give me true result but "\D+","anystring" to return me false.
Right now i am using /\".\s\"\s*+/|/+\s*\".\s\"/ regex but it is not giving me correct result. Regex needed to used in groovy language.
Any help would be appreciated.