1

I want to find double values in a string. String like this :

("A1K 90" AK2 90.0000 90.0000d nil nil (QUOTE ("90" "duz" nil nil 4.0)))

I only want 90.0000 and 4.0. Not 90.0000d.

My regex is -?[0-9]+\.[0-9]{1,6}+(?![a-zA-Z])

This works in notepad++. But in c# it errors nested quantifier +.

This problem {}+. Then I removed +. But now my pattern broken.

How can I solve this problem?

Emrah Şentürk
  • 107
  • 1
  • 6
  • 10

0 Answers0