Kann mir jemand folgenden Fehler erklären? Compiler Error Message: CS0176: Static member 'System.Text.RegularExpressions.Regex.Replace(string, string, string)' cannot be accessed with an instance reference; qualify it with a type name instead
Source Error: Line 10: Regex myregexp = new Regex("<[^>]*>", RegexOptions.IgnoreCase); Line 11: String TAG = "<" + strTAG + ">"; Line 12: String strNewText = myregexp.Replace(strCode, TAG, ""); Line 13: Line 14: return strNewText; | [aspdedotnet] als archive@jab.org subscribed | http://www.dotnetgerman.com/archiv/aspdedotnet/ = Listenarchiv | Sie können sich unter folgender URL an- und abmelden: | http://www.dotnetgerman.com/listen/aspDEdotnet.asp