/^((25[0-5]|2[0-4]\d|[01]?\d\d?)($|(?!\.$)\.)){4}$/
JS -replaceAll()String keyword='Hello';var htmlReg = new RegExp(keyword, "ig"); zybm=zybm.replace(htmlReg,"<span style='color:red;font-size:14px;'>"+keyword+"</span>")