Re: REGEX first occurence

2009-12-04 Thread Shlomi Fish
On Thursday 03 Dec 2009 16:10:56 Jackie Jackie wrote: Thanks for your help. You solve the problem with concatenate the qw (red etc) with fish. How to solve the problem by search and replace. fish/red bird fish/brown bear fish/lion red fish/animal I don't understand. s/// is search

Re: REGEX first occurence

2009-12-04 Thread Jackie Jackie
Thanks for your rely. I just want to replace the first occurrence of fish by red bird. The second occurrence by brown bear. etc. On Thursday 03 Dec 2009 16:10:56 Jackie Jackie wrote: Thanks for your help. You solve the problem with concatenate the qw (red etc) with fish. How to solve

Re: REGEX first occurence

2009-12-04 Thread Uri Guttman
JJ == Jackie Jackie j_jacki...@yahoo.ca writes: JJ I just want to replace the first occurrence of fish by red JJ bird. The second occurrence by brown bear. etc. then you should have stated this in the first posting. it was not clear at all what you wanted. fish/red bird fish/brown

REGEX first occurence

2009-12-02 Thread Jackie Jackie
I have a repeated occurrence of a word that I want to replace by another word. _Data_ fish fish fish fish output fish/red fish fish/blue fish fish/yellow fish fish/red fish I did not find a solution. Please help me. __ The

Re: REGEX first occurence

2009-12-02 Thread Shlomi Fish
On Wednesday 02 Dec 2009 16:03:53 Jackie Jackie wrote: I have a repeated occurrence of a word that I want to replace by another word. _Data_ fish fish fish fish output fish/red fish fish/blue fish fish/yellow fish fish/red fish I did not find a solution. Please help me. If I