[Mono-list] C# Regular Expressions Help Urgent

LaVey LaVey" <lavey@pacific.net.sg
Thu, 14 Aug 2003 20:26:05 +0800


This is a multi-part message in MIME format.

------=_NextPart_000_0019_01C362A2.497934D0
Content-Type: text/plain;
	charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

hi there...

I am having problems checking the following string...

string str_Content=3D"The day is <CheckOne> for me <CheckTwo> and so =
on.. ";

how do I create a regex pattern that matches my "<CheckOne>" and =
"<CheckTwo> " within my str_Content in c#?

regards,
Nigil
------=_NextPart_000_0019_01C362A2.497934D0
Content-Type: text/html;
	charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=3DContent-Type content=3D"text/html; =
charset=3Diso-8859-1">
<META content=3D"MSHTML 6.00.2800.1170" name=3DGENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=3D#ffffff>
<DIV><FONT face=3DArial size=3D2>
<DIV><FONT face=3DArial size=3D2>hi there...</FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>I am&nbsp;having&nbsp;problems checking =
the=20
following string...</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>string str_Content=3D"The day is =
&lt;CheckOne&gt; for=20
me &lt;CheckTwo&gt;&nbsp;and so on..&nbsp;";</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>how do I create a regex =
pattern&nbsp;that matches=20
my "&lt;CheckOne&gt;" and "&lt;CheckTwo&gt; " within my str_Content in=20
c#?</FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>regards,</FONT></DIV>
<DIV><FONT face=3DArial =
size=3D2>Nigil</FONT></DIV></FONT></DIV></BODY></HTML>

------=_NextPart_000_0019_01C362A2.497934D0--