[Spce-user] regular expresion and csv

Richard Fuchs rfuchs at sipwise.com
Fri Jan 18 11:49:33 EST 2013


Hi,

On 01/18/13 11:43, Joan Cifre (ibred) wrote:
> Hi all,
> I have to import a csv with billing fees and I have a regular expresion
> like this
> ^3480[3,6,7][0-1]+$
> 
> The problem I have is that when I import it, the "," of the regex is
> confused ith the "," of the csv. Any idea to avoid this?

Bracket expressions in regular expressions don't need a comma separator.
If you want to match a single 3, 6 or 7 digit, you can just use [367].

Alternatively, putting the whole expression under "quote" in the CSV
should also work.

cheers

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 900 bytes
Desc: OpenPGP digital signature
URL: <http://lists.sipwise.com/pipermail/spce-user_lists.sipwise.com/attachments/20130118/1f09b711/attachment-0001.asc>


More information about the Spce-user mailing list