- Joined
- Aug 17, 2008
- Messages
- 2,190 (0.36/day)
- Location
- Minnesota, USA
System Name | TaichiTig |
---|---|
Processor | i7 6800K |
Motherboard | ASRock X99 Taichi |
Memory | 32GB DDR4 3200 |
Video Card(s) | RTX 4070 |
Storage | SSD + Misc. HDDs in DrivePool |
Display(s) | BenQ PD3200U, Samsung C32HG70 |
Case | Antec Twelve Hundred |
Audio Device(s) | Behringer UMC404HD, LSR308, Shure SRH840, AKG K612, Etymotic HF5 |
Power Supply | Corsair 750TX |
Mouse | Logitech G502 |
Keyboard | Deck Legend Ice Tactile |
Software | Win10 |
Real basic question for anyone with experience.
I have a long list of cities and zip codes formatted in the following way:
55472 Abmps
56510 Ada
I need to replace the space between each zip code and its city with a comma, as such:
55472,Abmps
56510,Ada
In the Find and replace dialog, next to find I am using [0-9] [A-Z] to find all instances of a number followed by a space followed by a capital letter. This finds everything I need it to.
But then I intuitively tried, next to replace, using [0-9],[A-Z] and it results in this:
5547[0-9],[A-Z]bmps
5651[0-9],[A-Z]da
How can I tell Notepad++ to leave the zip and city alone while changing the space?
I have a long list of cities and zip codes formatted in the following way:
55472 Abmps
56510 Ada
I need to replace the space between each zip code and its city with a comma, as such:
55472,Abmps
56510,Ada
In the Find and replace dialog, next to find I am using [0-9] [A-Z] to find all instances of a number followed by a space followed by a capital letter. This finds everything I need it to.
But then I intuitively tried, next to replace, using [0-9],[A-Z] and it results in this:
5547[0-9],[A-Z]bmps
5651[0-9],[A-Z]da
How can I tell Notepad++ to leave the zip and city alone while changing the space?