Give me one of the best regex patterns to fulfill all conditions. For example, when the first letter is capital and the second letter is small, then give space before the capital letter. If a variable contains special characters, insert a space before and after the letter.
i try many regex but not short out my issue
New contributor
Sharma is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.