The 's' replaces one Place match at a time although the 's+' replaces The entire House sequence directly with the second parameter. In such a case, it makes no distinction, since you are changing everything with an vacant string (although It will be better to use \s+ from an performance https://mantra-mushroom-chocolate66420.howeweb.com/31929032/new-step-by-step-map-for-s