I don't know what the person who posted that was getting at. If you want to check a list of styles, then it would be easier to just create an array instead of using a regular expression to split a string. In any case, maybe you want something like this:
Code:
$standard_styles = array(3, 5, 7);
if (in_array(STYLEID, $standard_styles))
{
your code here
}
But that thread wasn't asking specifically about mobile styles. I'm thinking since they're in a separate section in the style manager, there has to be a way to check if the current style is a mobile style without having to list the ids in the code.