well actually you would have to do it on a separate line, because the white space matters, But that just says anything in angle brackets, followed by any number (and actually a + could substitute for the "*?") followed by a space, followed by any combination of letters, followed by any number, immediately followed by any text in angle brackets, then a space, a number, a colon, a number, a colon, a number,<br><div>, any text, period,</div>. Actually that bit at the end should be <//div>.
>>> > ^<.*?>[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. 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> Mr Douglas Watts<br> >>> > >>> > [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> &n >>> > bsp; 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:293872 Subscription: http://www.houseoffusion.com/groups/cf-community/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.5
