Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

Possible Duplicate:
delete first 27 characters from every line notepad++

I managed to find an answer to remove the last character from every line in Notepad++, but now I need the same solution for the first character on every line.

This is the solution to the last character: remove last character

If someone could let me know how to remove the first, using this method, I would appreciate it please.

share|improve this question
    
Why not make a new screenshot without the highlight? :D –  Oliver Salzburg Aug 15 '12 at 15:23
add comment

marked as duplicate by Oliver Salzburg Aug 15 '12 at 16:35

This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.

2 Answers

up vote 2 down vote accepted

This is what I came up with.

Find What: ^.?(.*)

Replace with: \1

Search Mode Regular expression

the answer

share|improve this answer
    
That worked, thanks allquixotic! –  SixfootJames Aug 15 '12 at 15:17
add comment

I realize this isn't exactly what you were looking for, but one way to remove the first character from every line is to use the ALT-mouse drag to select the first column of text.

In case you haven't discovered this feature yet, here's how:

  • Move to the top of the text, in front of the first character.
  • Press and hold down ALT
  • Click and hold down mouse button and select the first character of every line, and release.
  • Press the DELETE key.

(Probably need word-wrapping off.)

share|improve this answer
    
Wow, didn't know that Josh. Thanks! I do however want to create a series of Macros because I will be getting more and more of these CSV files in that I need to remove the first character of and some of them have thousands of lines :) –  SixfootJames Aug 15 '12 at 15:15
add comment

Not the answer you're looking for? Browse other questions tagged or ask your own question.