Sublime Forum

Replace variable text

#1

Hello, how can please I replace variable text?
I want the text “=dword” and everything that is behind it on one line to replace “=dword:00000000”

0 Likes

#2

You have to learn Regular Expression and turn on the regex mode in search & replace.
image

search: =dword:[a-zA-Z0-9]+
replace: =dword:00000000


Or, just use alt+f3 to select all dword and now you have all cursors to do what you want to do.

1 Like