Einzelnen Beitrag anzeigen

WojTec

Registriert seit: 17. Mai 2007
480 Beiträge
 
Delphi XE6 Professional
 
#3

Re: RegExpr to detect integers

  Alt 16. Apr 2015, 11:48
Thanks men, but problem is how to get valid integers, not any numbers.

Integers: -9 1 2 3 100 255 etc.
Floats: -10.5 .5 7,17 10.5 etc.

Example from that site detects all numbers or split floats to 2 integers, but shouldn't. Form string "10rats + .36geese = 3.14cows" should get only "10"
  Mit Zitat antworten Zitat