US>Macros to replace strings with regular expressions
From Sublime Text Tools->Macros->Users
I want to do it, but I don't know how to write a macro to replace the string.
For example, if you want to replace [^a]->b below,
What should I do?
Apple
banana
↓
bpple
banana
I also had a few questions at home SO, but it seems that search/replacement cannot be recorded by standard.
RegReplace plug-in sounds good.
How do I record and run multiple find/replace with Sublime Text2?
Batch find and replace for Sublime Text2
By the way, the commands available in the macro are shown below.
http://www.sublimetext.com/docs/commands
© 2024 OneMinuteCode. All rights reserved.