Re: replace all # chars in a text where the first with and second in through the text

2006-08-11 Thread Dr.Ruud
"Steven De Ketelaere" schreef: > I want to replace all first # characters with > and second # characters with [...] > > If only 1 # character is found I do not need to replace this s{#([^#]*)#}{$1}g -- Affijn, Ruud "Gewoon is een tijger." -- To unsubscribe, e-mail: [EMAIL PROTECTED] F

replace all # chars in a text where the first with and second in through the text

2006-08-11 Thread Steven De Ketelaere
Dear All, I'm a newbie concerning Perl and need to solve a simple?? issue, I want to replace all first # characters with and second # characters with Example : This is a #text# in which I would like to #replace# all # characters. Would be : This is a text in which I would like to replace all