Home
Tester
Reference
About
Pattern
^\d+(?:\.[0-9]{0,2}[1-9])?
Input
1234
123.4
0.123
4
12.04
0
1234 123.4 0.1234 12.040
Options
Ignore Case
Ignore Whitespace
Explicit Capture
Culture Invariant
Singleline
Multiline
Right To Left
ECMA Script
Start from position:
Max matches to find:
Replacement
Replace matches with...
Click the
context
tab to see replacements.
Regex Info
Table
Context
Split List
4
matches found in about
6
milliseconds.
Show Permalink
Permalink
Index
Position
Matched String
0
0
1234
1
8
123.4
2
17
0.123
3
27
12.04
1234
123.4
0.123
4
12.04
0
empty string
whitespace
whitespace
4
0