Forum Discussion
1 Reply
- Aleksandar_AContributor III
Hi @KTsnap,
Yes, it is possible to use the .replace() function with a given pattern (regex).
In your case this should do the job:
$str.replace(/:|>|%|\?|\\/g,' ')
Also, if you need additional info please check the replace() function documentation.
Let me know if this helps you.
BR,
Aleksandar.