[Spce-user] regular expresion and csv

Joan Cifre (ibred) jcifre at ib-red.com
Fri Jan 18 12:08:25 EST 2013


Hi Richard,
it's perfect to use [367] instead of [3,6,7]
I've tried to put the expression under single quotes and doesn't work, I 
don't know why. Maybe I should have use double quotes.

Thanks!!
Joan

El 2013-01-18 17:49, Richard Fuchs escribió:
> 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
>
>
>
> _______________________________________________
> Spce-user mailing list
> Spce-user at lists.sipwise.com
> http://lists.sipwise.com/listinfo/spce-user

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.sipwise.com/pipermail/spce-user_lists.sipwise.com/attachments/20130118/cc0b7a57/attachment-0001.html>


More information about the Spce-user mailing list