Regular Expressions 101

Library entries

Fraction(with or without carry) and integer

Vote

0

Regular Expression
pcre

/
((\-?\d*\-?\d+)\/(\d+$))|(^\-?\d+$)
/
gm

Description

Loading markdown...
Submitted by anonymous - a year ago