Removing spaces, but not if contained within a single quote
Posted: Thu Dec 04, 2008 6:51 am
Hi,
I am very new to expressions, and i am trying to do the following, if its at all possible.
If i have the following string:
<col caption = 'Contact Name';columns = contacts.salutation, contacts.first_name,
I would like to remove the spaces and ' marks, but leave the spaces if they are contain between ' (if this symbol cause a problem then i am willing to chance it to something else)
So it looks like;
<colcaption=Contact Name;columns=contacts.salutation,contacts.first_name,
Many thanks
I am very new to expressions, and i am trying to do the following, if its at all possible.
If i have the following string:
<col caption = 'Contact Name';columns = contacts.salutation, contacts.first_name,
I would like to remove the spaces and ' marks, but leave the spaces if they are contain between ' (if this symbol cause a problem then i am willing to chance it to something else)
So it looks like;
<colcaption=Contact Name;columns=contacts.salutation,contacts.first_name,
Many thanks