Solved

Regular Expression

Posted on 2006-12-01
1
239 Views
Last Modified: 2010-04-16
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
Comment
Question by:mathieu_cupryk
1 Comment
 
LVL 9

Accepted Solution

by:
pallosp earned 500 total points
ID: 18056524
strWithoutDgBlank = Regex.Replace(e.uRL.ToString(), "^about:", "");
0

Featured Post

Best Practices: Disaster Recovery Testing

Besides backup, any IT division should have a disaster recovery plan. You will find a few tips below relating to the development of such a plan and to what issues one should pay special attention in the course of backup planning.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Calculating holidays and working days is a function that is often needed yet it is not one found within the Framework. This article presents one approach to building a working-day calculator for use in .NET.
This article aims to explain the working of CircularLogArchiver. This tool was designed to solve the buildup of log file in cases where systems do not support circular logging or where circular logging is not enabled
In a recent question (https://www.experts-exchange.com/questions/28997919/Pagination-in-Adobe-Acrobat.html) here at Experts Exchange, a member asked how to add page numbers to a PDF file using Adobe Acrobat XI Pro. This short video Micro Tutorial sh…
Although Jacob Bernoulli (1654-1705) has been credited as the creator of "Binomial Distribution Table", Gottfried Leibniz (1646-1716) did his dissertation on the subject in 1666; Leibniz you may recall is the co-inventor of "Calculus" and beat Isaac…

821 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question