"Steven De Ketelaere" schreef:

> I want to replace all first # characters with <b>
> and second # characters with </b> [...]
>
> If only 1 # character is found I do not need to replace this

   s{#([^#]*)#}{<b>$1</b>}g

-- 
Affijn, Ruud

"Gewoon is een tijger."



-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
<http://learn.perl.org/> <http://learn.perl.org/first-response>


Reply via email to