The 's' replaces a single space match at any given time even so the 's+' replaces the whole Place sequence simultaneously with the next parameter. In such cases, it would make no difference, because you are changing every thing with the empty string (although It will be better to use https://mantra-chocolate-bars20863.jts-blog.com/30571047/everything-about-s