Timeline for Regex to replace multiple spaces with a single space
Current License: CC BY-SA 4.0
7 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
May 2, 2024 at 15:29 | comment | added | john k | why would split and join be 'obviously' slower? regex is notoriously slow | |
Jan 27, 2023 at 16:30 | comment | added | imos | @КонстантинВан In my case eBay templates restricted the use of replace | |
May 31, 2022 at 19:16 | comment | added | Константин Ван |
“If you do not want to use replace ”? Why would one not want to use it? split ing and join ing is obviously much slower than a replace call.
|
|
Sep 17, 2020 at 11:10 | history | edited | Narendra Jadhav | CC BY-SA 4.0 |
added code snippet
|
Jun 18, 2015 at 12:18 | history | edited | james.garriss | CC BY-SA 3.0 |
added 14 characters in body
|
Mar 15, 2013 at 5:30 | review | Late answers | |||
Mar 15, 2013 at 5:32 | |||||
Mar 15, 2013 at 5:10 | history | answered | imos | CC BY-SA 3.0 |