Regular Expressions 101

Community Library Entry

0

Regular Expression
PCRE2 (PHP >=7.3)

/
\/\/(\S+)业务员分配量\s.*(?<=\s)(\w+)(?=S)
/
gm

Description

//绑定业务员分配量
private int bindSchedulerCount;

替换成

//绑定业务员分配量
private int bindSchedulerCount;
//绑定业务员准确率
private int bindSchedulerAccuracy;
Submitted by fu jw - 2 years ago