I have that in a variable :
.fontSize10{
font-size:xx-small;
}
.fontSize11{
font-size:x-small;
}
.fontSize12{
font-size:small;
}
.fontSize13{
font-size:medium;
}
.fontSize14{
font-size:large;
}
.fontSize16{
font-size:x-large;
}
.fontSize18{
font-size:xx-large;
}
In this variable, i can have a lots of other css instructions.
I need to retrieve, for each instructions that begin by .fontSize
, his name (for example .fontSize14) and his size (large).
I need to keep name and size together (in an array for example $tab[0][0] = "fontSize14" and $tab[0][1] = "large")
Do you have an idea ? With regex maybe ? Thanks :)