Reputation: 71
I'm having troubles on keeping the first 8 characters in Notepad++.
I have a list like this :
johndoe2.21test
markdoetesting.new
marvin213.jo.hn
abcd1234.dcba
And I want a output like this:
johndoe2
markdoet
marvin21
abcd1234
Can you point me in the right direction ?
Upvotes: 7
Views: 18878
Reputation: 10525
You could use the column select feature for this.
You can also use Find and Replace in Regular Expression mode.
^(.{8}).*
\1
Upvotes: 14