Server Error in '/' Application.

parsing "F**K" - Nested quantifier *.

Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.

Exception Details: System.ArgumentException: parsing "F**K" - Nested quantifier *.

Source Error:


Line 324:            // string _page_meta_title = dv[0]["page_meta_title"].ToString().Replace(_prod_brand_name,"") + " "+ _prod_brand_name;
Line 325:
Line 326:            string _page_meta_title = _prod_brand_name + " " + Regex.Replace(dv[0]["page_meta_title"].ToString(), _prod_brand_name, "", RegexOptions.IgnoreCase).Trim();  ;
Line 327:          //  string _page_title = _page_meta_title;
Line 328:           //Response.Write(dv[0]["page_meta_title"].ToString().Replace(_prod_brand_name, ""));

Source File: c:\WEBFARM_MILITARIA\localuser\ftpbarchiesi\product.aspx.cs    Line: 326

Stack Trace:


[ArgumentException: parsing "F**K" - Nested quantifier *.]
   System.Text.RegularExpressions.RegexParser.ScanRegex() +2090
   System.Text.RegularExpressions.RegexParser.Parse(String re, RegexOptions op) +146
   System.Text.RegularExpressions.Regex..ctor(String pattern, RegexOptions options, TimeSpan matchTimeout, Boolean useCache) +460
   System.Text.RegularExpressions.Regex.Replace(String input, String pattern, String replacement, RegexOptions options) +95
   product.Page_Load(Object sender, EventArgs e) in c:\WEBFARM_MILITARIA\localuser\ftpbarchiesi\product.aspx.cs:326
   System.Web.UI.Control.OnLoad(EventArgs e) +108
   System.Web.UI.Control.LoadRecursive() +90
   System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +1533


Version Information: Microsoft .NET Framework Version:4.0.30319; ASP.NET Version:4.8.4700.0