RegEx - Match optional groups
- by Maurizio
I know RE is not the best way to scrape HTMLs, but this is it...
I have some something like:
<td> Writing: <a href="creator.php?c=CCh">Carlo Chendi</a> Art: <a href="creator.php?c=LBo">Luciano Bottaro</a> </td>
And I need to match the Writing and Art parts. But it is not said they're there and there could be other parts like Ink and Pencils...
How do i do this ? I need to use pure Regex, no additional Python libs...
Thanks !