in reply to Small replace regular exp help...pls
that make me feel smart but that actually waste your time, my time and (unluckily for my XP), other monks' time.$str = 'Data';
Back to business, answers before this post concentrated in isolating all that's after the colon, more or less, but I suspect that you actually want to get rid of both 'Some text1 : ' and ' Some Text2'. The final word is up to you, so: what do you need exactly, and what have you tried so far?
Update: it seems that matze answered just before I was posting my comment, with a solution pointing towards my interpretation of your question. Good for you?
Flavio
perl -ple'$_=reverse' <<<ti.xittelop@oivalf
|
|---|