Regex replace string



is selecting the text… now i am not able to replace with


its replacing with ($1)

how to use replace using regex

Any help is appreciated
thank you


Change your search to select="(\w+)". Once you have a capture group (the ()), the $1 will work correctly.


Thank you it worked exactly when i used () it captured the text