Joseph Luppens
asked on
Wildcard Pattern Replace
I have a text file which contains a repeating (unique) Order # string, which I would like to replace with a space at the end for each occurrence. The Order # string always has the xxx-xxxxxxx-xxxxxxx pattern.
For example:
Before:
113-5040923-6151434OCuSOFT Retaine Flax Omega 3 and Omega 6...
113.22112-4637876-7960258 Akorn Sodium Chloride 5% Ophthalmic Oint...
After:
113-5040923-6151434 OCuSOFT Retaine Flax Omega 3 and Omega 6...
113-22112-4637876-7960258 Akorn Sodium Chloride 5% Ophthalmic Oint...
Is there a way to do this within Notepad++ or UltraEdit?
For example:
Before:
113-5040923-6151434OCuSOFT Retaine Flax Omega 3 and Omega 6...
113.22112-4637876-7960258 Akorn Sodium Chloride 5% Ophthalmic Oint...
After:
113-5040923-6151434 OCuSOFT Retaine Flax Omega 3 and Omega 6...
113-22112-4637876-7960258 Akorn Sodium Chloride 5% Ophthalmic Oint...
Is there a way to do this within Notepad++ or UltraEdit?
ASKER CERTIFIED SOLUTION
membership
Create a free account to see this answer
Signing up is free and takes 30 seconds. No credit card required.
ASKER
You're welcome. Glad to help. Aloha!
From Notepad++
1. Press CTRL + F
2. Click the replace tab
3. Enter your search string
4. Enter your replacement string
5. Press Enter