I would like to replace in ex:`EMPRESA@RHID->RHID_AVALIADOR@DT_ADMISSAO'`

->RHID\_AVALIADOR .
Lets say that i need to replace substring that starts with '->' till next @ .

I need also the oposite way. Replace from '->' to previous @ , if '->' exists 
Apreciate your help. Thanks