Home
Tester
Reference
About
Pattern
(?:(?<=-)-)?\d+\.\d+
Input
-
-15.0
cm-
47.8
cm-
-83.1
cm:
0.115
kg
--15.0cm-47.8cm--83.1cm: 0.115 kg
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
1
millisecond.
Show Permalink
Permalink
Index
Position
Matched String
0
1
-15.0
1
9
47.8
2
16
-83.1
3
25
0.115
-
-15.0
cm-
47.8
cm-
-83.1
cm:
0.115
kg
-
cm-
cm-
cm:
kg