If you don't mind it not being regex, then

set the itemDelimiter to quote
repeat for each item i in myString
  put word 1 to -1 of i & quote after newString
end repeat
if char -1 of myString is not quote then delete char -1 of newString


should work.

Best,

Mark Smith

On 17 May 2006, at 10:45, jbv wrote:

Hi list,

Is it possible to use regEx to remove spaces before and
after quotes, and, if yes, how ?

Example :
    my " beautiful " laundrette
becomes
    my "beautiful" laundrette

Thanks,
JB

_______________________________________________
use-revolution mailing list
[email protected]
Please visit this url to subscribe, unsubscribe and manage your subscription preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution

_______________________________________________
use-revolution mailing list
[email protected]
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution

Reply via email to