// ISBN number regular matching the let REG = / ^: -. 4} {\ + $ D | ^ \ {D} $ 13 is / (\ + D?) ; // replace all Chinese comma let str = str.replace (/, / IG, ',' ); // sentence highlighted phrases specified IF (phrase.length && sentence) { phrase.slice ( 0,. 4) .map (Item => { the let REG = new new the RegExp ( "(" Item + + ")", "G" ); the let STR = document.querySelector ( "pm_modal_sentence." ) .innerHTML; the let for newstr = str.replace (REG, "<font FEA313 Color = #> $. 1 </ font>" ); document.querySelector ( ".pm_modal_sentence").innerHTML = newstr; }) } // modify local the cookie document.cookie = "_ yttoken_daily = yql01ascolxzc5fy"