I have to parse the following strings -DATA datavalue +DATA datavalue
I am using the following regular expression ^{?:\+\\-)DATA\s*(.*)$ This gives stack overflow if the string is more than 3.6k Do you have any recommendations to resolve this issue. Sujata