Regular Expressions 101

Community Patterns

Your search did not match anything

Community Library Entry

1

Regular Expression
PCRE (PHP <7.3)

/
(?P<koef>[+-]?\d*)(?P<literals>(?:[a-z](?:\^-?\d+)?)+)
/
g

Description

Regex to get polynomial coefficients

Submitted by Balandin Igor - 3 years ago