I am using VS Code to rewrite some SQL, and I am trying to rename a bunch of columns. I am basically trying to take the column name from the table and replace the underscore with a space. I can do multi-select for the chunk I want to rename (holding alt + shift and dragging), but the find and replace seems to only allow a select number of rows, or the entire doc. In my case, doing a find and replace only on the selected text after the "AS" keyword.
position_key AS "Position Key"
COMPANY_KEY AS "COMPANY_KEY"
Does anyone know if there is a way to have find and replace on only half of a row? It seems like that should be available, but I can't figure it out.
Thanks!