Tutorial
Tools & Languages
Examples
Reference
Floating Point Number with Optional Integer and Fractional Parts
(
\b
[0-9]
+
\.
(
[0-9]
+
\b
)
?
|
\.
[0-9]
+
\b
)
Match the regular expression below and capture its match into backreference number 1
Match either the regular expression below (attempting the next alternative only if this one fails)
Assert position at a word boundary
Match a single character out of the list: in the range between 0 and 9
Between one and unlimited times, as many times as possible, giving back as needed (greedy)
Match the character "." literally
Match the regular expression below and capture its match into backreference number 2
Between zero and one times, as many times as possible, giving back as needed (greedy)
Match a single character out of the list: in the range between 0 and 9
Between one and unlimited times, as many times as possible, giving back as needed (greedy)
Assert position at a word boundary
Or match regular expression number 2 below (the entire group fails if this one fails to match)
Match the character "." literally
Match a single character out of the list: in the range between 0 and 9
Between one and unlimited times, as many times as possible, giving back as needed (greedy)
Assert position at a word boundary
Welcome
Tutorial
Tools and Languages
Examples
Reference
About This Site
Download and Print