KnowledgeHub
Questions
Tags
Users
Search
Alex Rivera
|
Logout
Edit Question
Title
Body
I'm having trouble coming up with a vim find/replace to delete all the words on a line except the last one, i.e. in a bit of SQL, it be nice to generate a list of all the aliases from a bunch of code select column_a alias_a, column_b alias_b, column_c alias_c from ... I'd like to just generate the list alias_a, alias_b, alias_c So I think i want to delete all words that aren't immediately followed by a comma and line ending
Tags (comma-separated)
Save Edits
Cancel