Vad vill du att funktionen ska göra?
Trådstart#1
Vad är felet här?
Function FormatWord(strText)
Set objRegExp = New regexp
objRegExp.Global = true
objRegExp.IgnoreCase = true
objRegExp.Pattern = "(Inlägg)|(Globala Föreningen)|(forum)"
FormatWord = objRegExp.Replace(strText,"<b>$1</b><b><font color=""red"">$2</font></b><i><font color=""red"">$3</font></i>")
End Function
Jag får den inte att reagera på texten "Inlägg"