RE with not

2002-03-16 Thread rnoory
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

count consonnant

2002-03-16 Thread rnoory
I am trying to create a script that read a file and count consonnant then output the results to another file. I would ask here if anybody can help me to write the script. Thanks 1. the c at the end of words . 2. the cc at the end of words 3. the cing at the end of words 4. the ccing at the en

Search & Replace

2001-12-18 Thread RNOORY
Hi, I am used to work with a search and replace software and I have a list of pattern like the one above which I would like to translate to PERL. Need your help and comments. [Search /ix](control of the car) +[A-Za-z]_NN/2 +[A-Za-z]_IN +[A-Za-z]_AT +[A-Za-z]_NN [Replace] %1 %2 %3 %4 Reg

Replace

2001-12-19 Thread RNOORY
Help to write the replace part of a RE. MySearch is =\w+_NN \w+_IN \w+_AT \w+_NN; My replace = the same string (without _NN, _IN,_AT) and enclosed in Result = control of the car Thanks

cancatenate

2001-12-23 Thread RNOORY
Hello, I would like to concatenate several text files that all begin phr*.txt to create one text file. Thanks

Boolean Expression - Regular Expression

2002-01-19 Thread RNOORY
Can somebody help me translate these boolean expression to regular expression? kayak AND "San Juan Islands Digital Equipment Corporation" OR DEC Louis Near Monier vegetable AND NOT "brussel sprout gold OR silver AND platinum = gold OR (silver and platinum) (gold OR silver) AND platinum NOT gold