The selector class can be:
c-1
c-2
c-3
(etc...)
The selector can also have other classes, so here is an example of a possible HTML:
<div class="foo c-2 foofoo"></div>
I want to get the number after the c
. In this case - I'll get 2
.
How can I do that?