KnowledgeHub
Questions
Tags
Users
Search
Alex Rivera
|
Logout
Edit Question
Title
Body
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"
Tags (comma-separated)
Save Edits
Cancel