I need to extract some usernames from a list. I work in Jupyter Notebooks and use Python. I believe that regex would be the way to go, but feel free to recommend a different approach.
The names are surrounded by the same characters. The following characters precede the names:
bold;">
and the following characters are directly behind the names:
</a>
Here is a small fraction of the data that I would like to extract names from:
<a class="model" href="#" style="color:#FF6EC7;font-family:'Verdana';font-weight:bold;">HoneyxLover</a>,
<a class="model model_img" href="#" style="background-image:url('https://img.mfcimg.com/photos2/383/38344261/avatar.300x300.jpg');"></a>,
<a class="model" href="#" style="color:#FF1CAE;font-family:'Comic Sans MS', 'ChalkboardSE-Regular';font-weight:bold;">RubinRosey</a>,
<a class="model model_img" href="#" style="background-image:url('https://img.mfcimg.com/photos2/228/22826417/avatar.300x300.jpg');"></a>,