Your question is not very clear.  What regex are you using now, and what is
going wrong?

Are you looking for a way to count the c's in the input?

-----Original Message-----
From: rnoory
To: [EMAIL PROTECTED]
Sent: 3/16/02 7:09 AM
Subject: RE with not

Greetings... anyone can help write the regular expression to transform
the input in 
to the desired output.  I need help to write the regular expression. 
Thanks

S:[^c]cing # not ccing
R: ?? 
S:ccing; #ccing
R:?? 
S:[^c]c  #not CC
R: ??    
S:cc #cc
R:??      

Input
danc danccing
dancc danccing
danc dancing 
danccing danc
dancing dancc


Output
danc<1> danccing <2>
dancc<2> danccing<2>
danc<1> dancing<1> 



--------------------------------------------------------------------------------
This email may contain confidential and privileged 
material for the sole use of the intended recipient. 
If you are not the intended recipient, please contact 
the sender and delete all copies.

-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to