As maarten guessed, I am trying to remove 560 instances of a date from an SQL file. So I am looking for a way to grab everything from one comma to the other and including the quotes, all the numbers and dashes and dots and replace it with one single comma,
Maarten's method didn't work either. It just goes beep and says not found. On Monday, August 6, 2012 2:31:23 AM UTC-7, Terje Bless wrote: > > On Sun, Aug 5, 2012 at 6:20 AM, Steven wrote: > > I am trying to remove a date string from an SQL file. > > > > I have ,'\d\d\d\d\-\d\d\-\d\d \d\d:\d\d:\d\d', as the string I wish to > > replace with , > > > > It does not like that. > > What does "does not like that" mean? That it finds no matches? Or do > you see something that indicates an error? > > > I assume I have to \- because - is a character grep uses > > You should generally not need to escape the hyphen outside of > character classes (enclosed between [ and ]). > > And to get help with this problem you really do need to provide an > example of the data you're trying to match against. > > -link > -- -- You received this message because you are subscribed to the "BBEdit Talk" discussion group on Google Groups. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at <http://groups.google.com/group/bbedit?hl=en> If you have a feature request or would like to report a problem, please email "[email protected]" rather than posting to the group. Follow @bbedit on Twitter: <http://www.twitter.com/bbedit>
