Hey I\'m trying to figure out a regular expression to do the following.
Here is my string
Place,08/09/2010,\"15,531\",\"2,909\",650
I
Another way of doing it using regex directly:
>>> import re >>> data = "Place,08/09/2010,\"15,531\",\"2,909\",650" >>> res = re.findall(r"(\w+),(\d{2}/\d{2}/\d{4}),\"([\d,]+)\",\"([\d,]+)\",(\d+)", data) >>> res [('Place', '08/09/2010', '15,531', '2,909', '650')]