[Tutor] help of Regular expressions

Abdirizak abdi a_abdi406@yahoo.com
Sat Mar 22 08:38:01 2003


--0-1656330472-1048340234=:20546
Content-Type: text/plain; charset=us-ascii


Can anyone help me setting up some regular expressions for the following

1. <EQN/> a conditioned word <EQN/>

my intention is to capture the middle tokens(a,conditioned,word) leaving untouched both "<EQN/>", and there more than one pattern of this in the text that I am dealing with I want to capture them all( <EQN/> .........EQN/> ) . what I will do after capturing is to tag <W> token</W>... another words here is what  i will do after capturing 

<EQN/> <W>a<W> <W>conditioned</W> <W>word</W><EQN/> 

the inital and the last tag remained unchanged



---------------------------------
Do you Yahoo!?
Yahoo! Platinum - Watch CBS' NCAA March Madness, live on your desktop!
--0-1656330472-1048340234=:20546
Content-Type: text/html; charset=us-ascii

<P>Can anyone help me setting up some regular expressions for the following</P>
<P>1. &lt;EQN/&gt; a conditioned word &lt;EQN/&gt;</P>
<P>my intention is to capture the middle tokens(a,conditioned,word) leaving untouched both "&lt;EQN/&gt;", and there more than one pattern of this in the text that I am dealing with I want to capture them all( &lt;EQN/&gt; .........EQN/&gt; ) . what I will do after capturing is to tag &lt;W&gt; token&lt;/W&gt;... another words here is what&nbsp; i will do after capturing </P>
<P>&lt;EQN/&gt; &lt;W&gt;a&lt;W&gt; &lt;W&gt;conditioned&lt;/W&gt; &lt;W&gt;word&lt;/W&gt;&lt;EQN/&gt; </P>
<P>the inital and the last tag remained unchanged</P><p><br><hr size=1>Do you Yahoo!?<br>
<a href="http://rd.yahoo.com/platinum/evt=8162/*http://platinum.yahoo.com/splash.html">Yahoo! Platinum</a> - Watch CBS' NCAA March Madness, <a href="http://rd.yahoo.com/platinum/evt=8162/*http://platinum.yahoo.com/splash.html">live on your desktop</a>!
--0-1656330472-1048340234=:20546--