Regex Hero | The .NET Regular Expression Tester
/
.NET Regex Library
IntegersDecimalsRationals
0
^\s*(?<WholePart>[-+]?\d+){0,1}\s*(?:(?<Numerator>[-+]?\d+)\s*/\s*(?<Denominator>[-+]?\d+)|(?<FractionalPart>.\d*)){0,1}\s*$
Captures whole numbers, decimals, or rational numbers w/ optional whole part.
0x414c!
09/11/2015 18:41:10
0 comments so far.
Preview
<< back to
Library
Regex Hero
.NET Regex Tester
Reference
Library
Videos
Support