Home All Groups Group Topic Archive Search About
Author
31 Dec 2006 3:38 AM
Bert
Hi

How can I delete and mark in a text with a regular expression?

thanks

B

Author
31 Dec 2006 6:45 AM
Spam Catcher
"Bert" <bef***@gmail.com> wrote in news:#Qqdj0ILHHA.3552
@TK2MSFTNGP03.phx.gbl:

> How can I delete and mark in a text with a regular expression?

Take a look at System.Text.RegularExpression namespace.
Author
31 Dec 2006 8:00 AM
george_w_blair
Replace("Mysh*t", "")

George

Bert wrote:
Show quoteHide quote
> Hi
>
> How can I delete and mark in a text with a regular expression?
>
> thanks
>
> B
Author
31 Dec 2006 11:52 AM
Herfried K. Wagner [MVP]
"Bert" <bef***@gmail.com> schrieb:
> How can I delete and mark in a text with a regular expression?

'System.Text.RegularExpressions.Regex.{Replace, IsMatch, Match}'.

--
M S   Herfried K. Wagner
M V P  <URL:http://dotnet.mvps.org/>
V B   <URL:http://dotnet.mvps.org/dotnet/faqs/>