Answers for "replace '\n' in string angular"

1

replace 'n' in string angular

str.replace(/(?:rn|r|n)/g, '<br>');
Posted by: Guest on January-24-2022

Code answers related to "TypeScript"

Browse Popular Code Answers by Language