Skip to content

Instantly share code, notes, and snippets.

@zhangtaii
Created February 14, 2019 07:02
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save zhangtaii/cbd187d45585cc419b1b4a865f22dd52 to your computer and use it in GitHub Desktop.
Save zhangtaii/cbd187d45585cc419b1b4a865f22dd52 to your computer and use it in GitHub Desktop.
replace string sublime with regex group
Target content:
0x84
0xC
0x0
0x4C
Expeted result:
0x84
0x0C
0x00
0x4C
Find: 0x(.)\n
Replace: 0x0\1\n
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment