I'll comment the heck out of it for you if you want.....

On Fri, Apr 3, 2009 at 10:27 AM, Robert Munn <[email protected]> wrote:
>
> Readability is part of my "simplicity in programming" goal. Regex like that
> scares me because sooner or later someone (generally not the original
> programmer) will have to look at that code and maybe even change it. Dana's
> solution is very slick, though.
>
> On Fri, Apr 3, 2009 at 8:11 AM, Michael Grant <[email protected]> wrote:
>
>>
>> +1
>>
>> RE is the way to go. Simple, elegant and much quicker.
>>
>> On Fri, Apr 3, 2009 at 9:41 AM, Dana <[email protected]> wrote:
>>
>> >
>> > ^<.*?>[0-9*?] [.*?] [0-9*?]</.*?>
>> > [0-9+]:[0-9+]:[0-9+]<br><div>[.*?]/.</div>$
>> >
>> > assumes you want the period at the end
>> >
>> > ---------- Forwarded message ----------
>> > From: LRS Scout <[email protected]>I have a string:
>> >
>> > <strong>20 Mar 2009</strong> 15:24:52<br><div>Please stand down on this
>> > task
>> > for now.&nbsp; No more USMC work
>> > authorized.</div><
>> > Date: Fri, Apr 3, 2009 at 3:44 AM
>> > Subject: Regular expression Q
>> > To: cf-community <[email protected]>
>> >
>> >
>> >
>> > br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Mr Douglas Watts<br>
>> >
>> > &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;[email protected]<nbsp%3b%26nbsp%3b%26nbsp%3b%26nbsp%3b%26nbsp%[email protected]>
>> <nbsp%3b%26nbsp%3b%26nbsp%3b%26nbsp%3b%26nbsp%[email protected]<nbsp%253b%2526nbsp%253b%2526nbsp%253b%2526nbsp%253b%2526nbsp%[email protected]>
>> >
>> > <br>&nbsp;&nbsp;&nbsp;&n
>> > bsp;&nbsp;703-432-1277<br>
>> >
>> > I want to grab the div between the first <br> and the second <br>, the
>> div
>> > content.
>> >
>> > How would I do that?
>> >
>> >
>> >
>> >
>> >
>> >
>> >
>>
>>
>
> 

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;207172674;29440083;f

Archive: 
http://www.houseoffusion.com/groups/cf-community/message.cfm/messageid:293868
Subscription: http://www.houseoffusion.com/groups/cf-community/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.5

Reply via email to