Home
Tester
Reference
About
Pattern
^[0-9]{1,3}(?:[.,][0-9])?\r?$
Input
1.23
1.1
12.2
123.3
.23
1.23 1.1 12.2 123.3 .23
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
3
matches found in about
20
milliseconds.
Show Permalink
Permalink
Index
Position
Matched String
0
6
1.1
1
11
12.2
2
17
123.3
1.23
1.1
12.2
123.3
.23
1.23
whitespace
whitespace
.23