I have HTML code before and after the string:
name="some_text_0_some_text"
I would like to replace the 0
with something like : !NEW_ID!
So I made a simple regex :
.*name="w+(d+)w+".*
But I don't see how to replace exclusively the captured block.
Is there a way to replace a captured result like ($1) with some other string ?
The result would be :
name="some_text_!NEW_ID!_some_text"
Question&Answers:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…