How can I take integer regex in Python? : I'm trying to use regex in Python for taking some parts of a text. From a text I need to take this kind of substring '2012-048984'. So what's the equivalent regex?
Thank you very much.