Avatar of Joseph Luppens
Joseph Luppens
Flag for United States of America

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?


Regular Expressions* Text Editor

Avatar of undefined
Last Comment
NVIT

8/22/2022 - Mon