Link to home
Start Free TrialLog in
Avatar of zimmer9
zimmer9Flag for United States of America

asked on

Using Notepad++, how would you remove a string of characters from all records within a file?

In Notepad++

How would you replace (remove the leading characters "BOACK.BOACK.BOAIMAGE.BOAIMAGE." for all its occurrences in a file?

For example:

BEFORE:

GROUP_FILENAME:BOACK.BOACK.BOAIMAGE.BOAIMAGE.20160502419247397301.tiff

AFTER:

GROUP_FILENAME:20160502419247397301.tiff
ASKER CERTIFIED SOLUTION
Avatar of John
John
Flag of Canada image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of zimmer9

ASKER

If I Find / Replace

Find what :          BOACK.BOACK.BOAIMAGE.BOAIMAGE.
Replace with :     ""

I end up with:

BEFORE:
GROUP_FILENAME:BOACK.BOACK.BOAIMAGE.BOAIMAGE.20160502979211719901.tiff

AFTER:
GROUP_FILENAME:""20160502979211719901.tiff
Try the same thing replace with empty  (just enter).
Avatar of zimmer9

ASKER

That's the ticket.  :)
Thanks and I was happy to help.  I have had to use both methods.