>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
- delete the last string Stéphane JEAN BAPTISTE
- RE: delete the last string Ronald J. Yacketta
- Re: delete the last string Chas Owens
- Re: delete the last string Chas Owens
- Re: delete the last string Jeff 'japhy' Pinyan
- Re: delete the last string Peter Scott
- Re: delete the last string Jeff 'japhy' Pinyan