I'm trying to match positive and negative numbers inbetween two tags using regex, the positive numbers return fine but the negative ones do not match. I am using:
string value8 = (",\"lng\":\"(([^\"\\\\]|-\\\\.)*)\",");
Match[] lng = Regex.Matches(Text, value8)
to match against
"lng":"-104.845275878905880"
or similar, it can be positive or negative. When positive it matches the number but when negative, there are no matches.