<?php $varText = "\\teststring\test \/somestring\string/string"; $varText = str_replace("//", '/', str_replace("\\", '/', $varText)); echo $varText;
You have javascript disabled. You will not be able to edit any code.