The 's' replaces one space match at a time even so the 's+' replaces The full Room sequence directly with the next parameter.In such cases, it tends to make no variance, because you are replacing almost everything with an empty string (Despite the fact that It will be much better to implement s+ from an performance point of view). Should you ended