I've got an element like this:
<ul class="MainMenu_SubMenu m m0 mid157">
I need to get the mid157 and use that 157 for a variable for something else, i.e:
$('SomeOtherElement157')
So my question is how do get the class name as a variable and then strip all but the number? The classes are generated so some have more and some have less but they will all have that mid...