Regular Expressions 101

Community Patterns

Community Library Entry

1

Regular Expression
PCRE (PHP <7.3)

/
([+-]?\d?.?\d?)x\^?\(?([+-]?\d*\.?\d*)\)?
/
g

Description

x+x^10+10x^(-3) get all valuem one by one

Submitted by Max(morozovmaxim25@gmail.com) - 9 years ago