Chapter 11: Regular Expressions exercise in Python for Everybody.
Source: https://www.py4e.com/html3/11-regex
The basic outline of this problem is to read the file, look for integers using the re.findall(), looking for a regular expression of '[0-9]+' and then converting the extracted strings to integers and summing up the integers.
trencsok / py4e--ch.11-regular-expressions Goto Github PK
View Code? Open in Web Editor NEWChapter 11: Regular Expressions exercise in Python for Everybody.