Regular Expressions 101

Library entries

从计算表达式中分别提取含x和y的部分

Vote

0

Regular Expression
javascript

/
((?!y).+)\s*([+-/])\s*((?!.*x)(?=.*y).+)\s*=.+
/
gm

Description

Loading markdown...
Submitted by anonymous - 2 years ago