Replace all different numbers with a same number
-
I have
“max_lvl”: 11,
“max_lvl”: 38,
“max_lvl”: 8,
and so on 488 more times
How do I change all the number to 10? -
Hello, @stealth-fighter and All,
First method :
-
Make a
zero-length column selection, right before the numbers through all the lines to modify -
Hit the
Ctrl + Delshortcut -
Type in the number
10
You don’t even need to install the beloved @astrosofista’s plugin, known as
BetterMultiSelection
Second method :
-
Open the Replace dialog (
Ctrl + H) -
SEARCH
\d+ -
REPLACE
10 -
Tick, preferably, the
Wrap aroundoption -
Select the
Regular expressionsearch mode -
Click on the
Replace Allbutton
Best Regards,
guy038
-
-
@guy038 Thank you so much!
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login