Search Results
Search type | Search syntax |
---|---|
Tags | [tag] |
Exact | "words here" |
Author |
user:1234 user:me (yours) |
Score |
score:3 (3+) score:0 (none) |
Answers |
answers:3 (3+) answers:0 (none) isaccepted:yes hasaccepted:no inquestion:1234 |
Views | views:250 |
Code | code:"if (foo != bar)" |
Sections |
title:apples body:"apples oranges" |
URL | url:"*.example.com" |
Saves | in:saves |
Status |
closed:yes duplicate:no migrated:no wiki:no |
Types |
is:question is:answer |
Exclude |
-[tag] -apples |
For more details on advanced search visit our help page |
Overwriting text with the r or R commands. For search-and-replace operations, use the [substitute] tag.
2
votes
2
answers
211
views
How to search and replace more than character and a string in vim
I've got a text with artist_id, album_id,... and want to replace them with just id.
How do I do that?
I tried :%s/[a-z]+_id/id/gc, but it did not work. …