Baishun's Space

Vim search and replace

By Baishun on Oct 15, 2024
nvim encoding

search and replace ObjectId type data, useful when handle mongodb data from code

:%s/"\(\w\{24}\)"/ObjectId("\1")/g
For business cooperation or you have any questions, please send email to : lecy.cc.app@gmail.com
© Copyright 2024 by Baishun Space. Built with ♥ by Lecy. Origin theme of this blog is from ixartz. Social Icons are copied from astro-social-share