Sublime Forum

Replace variable text


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”



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

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