Question
Optional word in regex
Hi,
I need some help in doing a regex find. I want to find the content of a <td> tag. However, the content might be enclosed by <span> tag.
<td>abc</td>
<td><span>abc</span></td>
How do I write the regex that can capture abc in either situation?
Thank you!
