Answers for "js add space before capital letter and after period"

1

js add space before capital letter

s = s.replace(/([A-Z])/g, ' $1').trim()
Posted by: Guest on June-29-2021

Code answers related to "js add space before capital letter and after period"

Code answers related to "Javascript"

Browse Popular Code Answers by Language