[Tutor] Regular expressions question

Alan Gauld alan.gauld at btinternet.com
Thu Dec 6 02:11:57 CET 2012


On 06/12/12 00:24, Brett Ritter wrote:

>     '[<div class="wx-timestamp">\n<div class="wx-subtitle
>     wx-timestamp">Updated: Dec 5, 2012, 5:08pm EST</div>\n</div>]'
>      >>> m = re.search('":\b(\w+\s+\d+,\s+\__d+,\s+\d+:\d+.m\s+\w+)<',
>
> It starts with ":
> which doesn't appear in your string.

At the end of Updated:


-- 
Alan G
Author of the Learn to Program web site
http://www.alan-g.me.uk/



More information about the Tutor mailing list