AM
Size: a a a
AM
EA
"testStr".replace(/(?=[A-Z])/, match => " " + String(match).toLowerCase())
.К
S🛸
"testStr".replace(/(?=[A-Z])/, match => " " + String(match).toLowerCase())
.S🛸
EA
К
S🛸
S🛸
EA
К
EA
"testStr".replace(/(?=[A-Z])/, match => " " + match.toLowerCase())
возвращает "test Str", но не могу вернуть S строчной.P
inputString.replace(/([a-z])([A-Z])/, '$1 $2').toLowerCase()
EA
inputString.replace(/([a-z])([A-Z])/, '$1 $2').toLowerCase()
D
D
D
EA
AM
EA