function extractPseudoClassesFromSelectorText(selectorText) {
    for (const pseudoClass of pseudoClasses) {
        selectorText = selectorText.replace(pseudoClass, '');
    }
    return selectorText;
}
/**
 * Remove pseudo classes like ":hover"
 */
Remove pseudo classes like ":hover"
Remove pseudo classes like " : hover "
function extractPseudoClassesFromSelectorText(selectorText) {
    for (const pseudoClass of pseudoClasses) {
        selectorText = selectorText.replace(pseudoClass, '');
    }
    return selectorText;
}
function extractPseudoClassesFromSelectorText ( selectorText ) { for ( const pseudoClass of pseudoClasses ) { selectorText = selectorText . replace ( pseudoClass , '' ) ; } return selectorText ; }
Remove pseudo classes like ":hover"
Remove pseudo classes like " : hover "