Re: Grep Find and Replace Issue

2024-05-09 Thread Kaveh Bazargan
Hi Marcus Sorry I think I made a mistake. I am not at my computer but pls try and put a semicolon before the backslash in replace. So replace is semicolon plus whatever was in brackets. Sent from MetroMail On Fri, 10 May 2024 at 00:13, Marcus Abundis <55m...@gmail.com> wrote: > Hi Kaveh, > >

Re: Grep Find and Replace Issue

2024-05-09 Thread Neil Faiman
Marcus, I think that you may not realize that the backslash codes used in replacement strings are not the same as the backslash codes used in search strings. In a search string, there is a very rich collection of codes to describe the things to be matched. The result of the matching operation

Re: Grep Find and Replace Issue

2024-05-09 Thread Marcus Abundis
Hi Kaveh, Thanks much for your note! Yeah, I see how " (\d\d\.\d\d\.\d\d\d\d, \d\d:\d\d, )" SHOULD work with ";(\d\d\.\d\d\.\d\d\d\d, \d\d:\d\d, )" . . . but I don't see how using a Backreference like "\1" applies to this situation—how does this produce an ";" ?! Am I missing something? Can

Re: Grep Find and Replace Issue

2024-05-09 Thread Marcus Abundis
Hey Rich, Thanks much for looking at this issue! Okay, I closely read the material in Chapter 8 and explored the Pattern Playground, and I am pretty sure I understand what I read and saw. I also feel I have a grasp of HOW wildcard Find and Replace commands are SUPPOSED to work. Using a