[Okta Webinar] Learn how to a build a cloud-first strategyRegister Now

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 249
  • Last Modified:

Regular Expression

strWithoutDgBlank += Regex.Match(e.uRL.ToString(), @"about:blank(.*\.doc+)", RegexOptions.IgnoreCase).Groups[1].Captures[0].ToString();
                                                        


I have to get rid of "about:Standard_Ground_Handling_Agreement/1._2004_SGHA.doc"
the about?
0
mathieu_cupryk
Asked:
mathieu_cupryk
1 Solution
 
pallospCommented:
strWithoutDgBlank = Regex.Replace(e.uRL.ToString(), "^about:", "");
0

Featured Post

How to Use the Help Bell

Need to boost the visibility of your question for solutions? Use the Experts Exchange Help Bell to confirm priority levels and contact subject-matter experts for question attention.  Check out this how-to article for more information.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now