>I want to delete a string but only the last.
>Example
>
>I am the titi  last human on titi earth.
>
>-> I want to erase the last "titi" nut not the other.

No-one in my mailbox has mentioned a more obvious solution for the regex 
beginner:

s/(.*)titi/$1/

"Greed is good."  :-)
--
Peter Scott
Pacific Systems Design Technologies
http://www.perldebugged.com

Reply via email to