Regular Expressions 101

Community Patterns

Get all digits after the decimal point.

0

Regular Expression
PCRE (PHP <7.3)

/
\d{0,}\.(\d{0,})
/

Description

Simple regex to grab all digits after the decimal point.

Submitted by anonymous - 8 years ago