I have a file with some rows like

1234
2345
5678
9876

Now I want to replace this with an extra digit so the result will be:

S1234
S2345
S5678
S9876

I tried the replace function with:
Find: [0-9]{4}
Replace: S$1

And the option Regular Expressions on

But it replaces all lines with only the S and not the original part. What should
I have to get it right?

-- 
<http://forum.pspad.com/read.php?2,53657,53657>
PSPad freeware editor http://www.pspad.com

Odpovedet emailem