Sublime Forum

Mass Edit text

#1

Hey there Sublime team!

I have a project. My texts currently look like this
jalen mcmillan
john wayne
forrest baxtrer

but I need them to look like this

@jalen mcmillan
@john wayne
@forrest bxtrer

I have a lot of usernames & I need to add a “@” symbol before all my lines, could you send some basic instructions on how to do this using your software? Thank you so much I know it’s a quick fix.

0 Likes

#2
  1. Select all (Ctrl+A, or Cmd+A on Mac)
  2. Split into Lines (Ctrl+Shift+L, or Cmd+Shift+L on Mac)
  3. Move cursor right of the selection ( alone should work, otherwise use Ctrl+, or Cmd+ on Mac)
  4. Type @
1 Like

#3

In this case, you may use regex replacement as well.

  • Ctrl +H and enable the regex mode (Alt + R on Windows, or you just click the button)
  • search: ^ (begin of the line) , replace:@
  • replace all
0 Likes