Thanks a million, that one did it -----Original Message----- From: Bob Showalter [mailto:[EMAIL PROTECTED] Sent: Monday, November 07, 2005 1:55 PM To: Fontenot, Ward P. Cc: beginners@perl.org Subject: Re: Regex
[EMAIL PROTECTED] wrote: > I have a field that looks like this: > > 'modprobe: modprobe: Can't locate module char-major-10-134' > > I need to add a single quote so that it looks like this: > > 'modprobe: modprobe: Can''t locate module char-major-10-134' > > But I have no idea how to go about doing that, can I get an example? If you don't want to include the quotes at the start and end of the string, you can use: s/(?<=.)'(?=.)/''/gs
smime.p7s
Description: S/MIME cryptographic signature