import readdr_str = "No 123 4th St, 5th Ave NYC\n\tPhone: 0-800-MALL"print re.search(r"Phone:\s*(.*)$", addr_str).group(1)
Standard input is empty
0-800-MALL
The brand new service which powers Ideone!
Widget for compiling and running the source code in a web browser!