Hello Guys Iam trying to Remove the WhiteSpaces “start and End of a string” this is my code.
note its still failing
let hello = " Hello, World! "; let wsRegex = /(^[\s+$]*)/g; // Change this line let result = hello.replace(/(^[\s+$]*)/,''); // Change this line
Any TIP? Thank you