bauhsoj
07-19-2006, 03:16 AM
What regular expression could I use to remove all plus (+) signs only from within quotes in a string?
For instance, how would I strip out the plus signs in the quotes below but not anywhere else in the string?
+this +is "+a +short +string" +to +test
The string should end up like the following:
+this +is "a short string" +to +test
I have wracked my brain and I can't seem to find a clever way to do this with a regular expression.
For instance, how would I strip out the plus signs in the quotes below but not anywhere else in the string?
+this +is "+a +short +string" +to +test
The string should end up like the following:
+this +is "a short string" +to +test
I have wracked my brain and I can't seem to find a clever way to do this with a regular expression.