NM.  Still isn't working :(




> From: "Paul K. Dickson" <pdick...@frederickcountymd.gov>
> Reply-To: For Users of ASSP <assp-user@lists.sourceforge.net>
> Date: Wed, 02 Jun 2010 11:28:07 -0400
> To: For Users of ASSP <assp-user@lists.sourceforge.net>
> Subject: Re: [Assp-user] Regex help please.
> 
> Figured it out using one of Thomas's prior emails for reference.  For anyone
> who is interested:
> 
> (http\:\/\/|@)[^/\s]*(?=.*?(discount
> sale
> coupon
> ))\.(com|net|org)(\s(\r|$)|\/|\:\d{1,5}\/|\.\s\s?\w|\.?\r)
> 
> 
> 
> Starting with "(?=.*?("  and ending with "))" is the bit that did it.
> 
> 
> 
> 
>> From: "Paul K. Dickson" <pdick...@frederickcountymd.gov>
>> Reply-To: For Users of ASSP <assp-user@lists.sourceforge.net>
>> Date: Wed, 02 Jun 2010 09:08:39 -0400
>> To: For Users of ASSP <assp-user@lists.sourceforge.net>
>> Subject: Re: [Assp-user] Regex help please.
>> 
>> Thanks for the suggestion.  That is only going to specify that the item has
>> a carriage return after it in the email, which most will not.
>> 
>> 
>> 
>> 
>>> From: Eric Shubert <e...@shubes.net>
>>> Organization: Eric Shubert & Associates
>>> Reply-To: For Users of ASSP <assp-user@lists.sourceforge.net>
>>> Date: Tue, 01 Jun 2010 11:56:50 -0700
>>> To: <assp-user@lists.sourceforge.net>
>>> Subject: Re: [Assp-user] Regex help please.
>>> 
>>> Paul K. Dickson wrote:
>>>> For ease of administration/review I want to have a regex that will allow 1
>>>> value per line.  A random example:
>>>> 
>>>> Sales\s(\btest\b
>>>> Anotherword
>>>> Stufftoblock
>>>> Ihatespam)
>>>> 
>>>> Instead of: 
>>>> Sales\s(\btest\b|anotherword|stufftoblock|ihatespam)
>>>> 
>>>> 
>>>> Does anyone know how to do this off the top of their head?
>>>> 
>>>> 
>> 
> 
----------------------------------------------------------------------------->>
>
>> 
>> -
>>> 
>>> Have you tried escaping the <cr> at the end of each line? As in:
>>> Sales\s(\btest\b\
>>> Anotherword\
>>> Stufftoblock\
>>> Ihatespam)
>>> 
>>> -- 
>>> -Eric 'shubes'
>>> 
>>> 
>>> 
> 
----------------------------------------------------------------------------->>
>
> -
>>> 
>>> _______________________________________________
>>> Assp-user mailing list
>>> Assp-user@lists.sourceforge.net
>>> https://lists.sourceforge.net/lists/listinfo/assp-user
>> 
>> 
>> 
----------------------------------------------------------------------------->>
-
>> 
>> _______________________________________________
>> Assp-user mailing list
>> Assp-user@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/assp-user
> 
> 
> ------------------------------------------------------------------------------
> 
> _______________________________________________
> Assp-user mailing list
> Assp-user@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/assp-user


------------------------------------------------------------------------------

_______________________________________________
Assp-user mailing list
Assp-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/assp-user

Reply via email to