php replace string between two strings