<?php $test = "Hej med dig"; echo str_replace(['med', 'dig'], ['på', 'hansi'], $test);
You have javascript disabled. You will not be able to edit any code.