Regular Expressions 101

Community Library

Community Library Entry

0

Regular ExpressionOpen Workspace

r"
(?xs)<tr>[^<]*?<td.*?>(.*?)</.*? <td.*?>.*?(?#skip second col) <td.*?>(?:<.*?>)+?((?:(?!<).)*)(?:<.*?>)+?</td.*? <td.*?>(.*?)</.*? id=([0-9]+)
"
g

Description
Created·2018-12-12 08:14
Type·Match
Flavor·Python

match an html table suffs

Submitted by Anonymous
Open Workspace