Use RegEx on Find/Replace IDE – General


I need to create a find / replace regex to do this:
find: popExecutivoTratamento.text
replace: popExecutivoTratamento.SelectedRowValue

of cource, it’s not so simple…
find: popANYTHINGHERE.text
replace: popTHESAMETHINGHERE.SelectedRowValue

I wrote a pattern that show me a list of matches: pop\w+.text
but i don’t know how to use to replace ONLY the .text to .SelectedRowValue from found matched lines.

Any one can help? one simple example will be great! I’ll fix a thousand bugs from 2019 web project to 2022…

Thank you all!


Read more here: Source link