With this online tool you can replace first/last N characters in each line of a text. You can quickly replace first or last N characters in each line. Replace first or last 2, 3, 4, 5, 6, 7, 8, 9, 10, etc characters in each text lines. Just paste the text below, enter the prefix and suffix, and press the button.