An easy way to get only the part you are interested in.
>> s="Hey what's up @dude, @how's it going?"
=> "Hey what's up @dude, @how's it going?"
>> s[/@how.*$/i]
=> "@how's it going?"
If you really need to change the string object, you could always do s=s[...]
.