[Tutor] about Regular Expression
Abdirizak abdi
a_abdi406@yahoo.com
Sun May 11 09:09:02 2003
--0-1253465956-1052658514=:22095
Content-Type: text/plain; charset=us-ascii
Hi ,I was a working on program that processes xml files, the program has the following:<W>The</W> <W>most</W> <W>likely</W> <W>analysis</W>I want to extract the words in between <W>..</W> and I set up reg expression which gives me those words: that is o.k ['The', 'most', 'likely', 'analysis', ......] but the program has also a non- word tagged with <W>..</W>I was trying to set up a reg. expression that eliminates those tagged non-words which are giving me a bit of aproblem.... <W>.</W> <W>,</W> <W>(</W> <W>)</W> <W>'</W> can anyone help me get this reg. expression wright ? thanks in advance
---------------------------------
Do you Yahoo!?
The New Yahoo! Search - Faster. Easier. Bingo.
--0-1253465956-1052658514=:22095
Content-Type: text/html; charset=us-ascii
<DIV>Hi ,</DIV>
<DIV>I was a working on program that processes xml files, the program has the following:</DIV>
<DIV><W>The</W> <W>most</W> <W>likely</W> <W>analysis</W></DIV>
<DIV>I want to extract the words in between <W>..</W> and I set up reg expression which gives me those words: that is o.k</DIV>
<DIV> </DIV>
<DIV>['The', 'most', 'likely', 'analysis', ......]</DIV>
<DIV> </DIV>
<DIV>but the program has also a non- word tagged with <W>..</W></DIV>
<DIV>I was trying to set up a reg. expression that eliminates those tagged non-words which are giving me a bit of aproblem....</DIV>
<DIV> </DIV>
<DIV> <W><STRONG>.</STRONG></W> <W><STRONG>,</STRONG></W> <W><STRONG>(</STRONG></W> <W><STRONG>)</STRONG></W> <W><STRONG>'</STRONG></W></DIV>
<DIV> </DIV>
<DIV>can anyone help me get this reg. expression wright ?</DIV>
<DIV> </DIV>
<DIV>thanks in advance </DIV><p><hr SIZE=1>
Do you Yahoo!?<br>
<a href="http://us.rd.yahoo.com/search/mailsig/*http://search.yahoo.com">The New Yahoo! Search</a> - Faster. Easier. Bingo.
--0-1253465956-1052658514=:22095--