Would any of these regex examples work if there was just one span, two spans, three spans, or even four spans. The problem is that with something like smallcaps, it's not a set amount of spans. So there's no way to know ahead of time how many spans exist in a given paragraph. Plus there could be other spans for other things in the same paragraph.
|