Accessing the ticker data from Wikipedia is problematic. We've researched a python regex (see below) which should work to capture the ticker data for many if not most companies. There remains some work to implement, test this and then look for alternative ways to capture the rest.
An idea to consider is to create some if/then/else logic to look at planlist, unbulleted list, nothing, etc. This would left different regexes act on the strings.
Accessing the ticker data from Wikipedia is problematic. We've researched a python regex (see below) which should work to capture the ticker data for many if not most companies. There remains some work to implement, test this and then look for alternative ways to capture the rest.
The above might be too greedy, but we can start there.
Some examples to work with are below:
An idea to consider is to create some if/then/else logic to look at planlist, unbulleted list, nothing, etc. This would left different regexes act on the strings.