akm2 has asked for the wisdom of the Perl Monks concerning the following question:
Ok, I admit it... I suck at Regular Expressions. There, I said it.
After pretty much 2 pots of coffee, I still can't get it right. Therefore I come asking for wisdom...
I have a string like:
"I have a 15" latter and a 6" foot arm."
I need to change it to:
"I have a 15" latter and a 6" foot arm."
In other words I need a regular expression that will not touch the quotation marks at the start or end of the string but will change all the ones in-between.
Can anybody help me, please?
Andrew Kenton Mitchell
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Another Regular Expression
by BrowserUk (Patriarch) on Jan 08, 2005 at 18:37 UTC | |
|
Re: Another Regular Expression
by gopalr (Priest) on Jan 09, 2005 at 01:54 UTC | |
|
Re: Another Regular Expression
by Zaxo (Archbishop) on Jan 09, 2005 at 02:19 UTC | |
by holli (Abbot) on Jan 09, 2005 at 08:16 UTC |