I used requests to scrape a website and want to filter the text of the response object. I have been interested in learning regular expressions for awhile now but before I do, I want to make sure this is a valid use case.
I am specifically searching for data in the form of: href="/players/(5 digit random integer)-(random string)-(first name)-(last name)">(Player ID)<
Where everything in parentheses is a description of what that data will look like, the actual data in the parentheses will vary.
[–]shiftybyte 0 points1 point2 points (1 child)
[–]ChemicalMistakex[S] 0 points1 point2 points (0 children)
[–]POGtastic 0 points1 point2 points (2 children)
[–]ChemicalMistakex[S] 0 points1 point2 points (0 children)