Sorry, I don't know how to express.....
I want to delete the specified word and the brackets after it
For the following example: abc and the brackets after it
The result I expect is:
s1:
xzc ; dfg()
s2:
s.fix()
-------------------------------------------------
out
str s1=
xzc abc(s "(abc)"); dfg()
str s2=
s.fix(abc(h SCI.SCI_GETTEXTRANGE 0 &t))
str p="(?<=[\w ]\()[^;\n]*(?=\))"
s1.replacerx(p)
out s1
s2.replacerx(p)
out s2
I want to delete the specified word and the brackets after it
For the following example: abc and the brackets after it
The result I expect is:
s1:
xzc ; dfg()
s2:
s.fix()
-------------------------------------------------
out
str s1=
xzc abc(s "(abc)"); dfg()
str s2=
s.fix(abc(h SCI.SCI_GETTEXTRANGE 0 &t))
str p="(?<=[\w ]\()[^;\n]*(?=\))"
s1.replacerx(p)
out s1
s2.replacerx(p)
out s2