Forum Discussion
Tau34RUS
13 years agoNew Contributor
Just figured out it. Here is a samlpe
This wil result 123456
the only thing you need to use regular expressions in replace - add / /
content = '123456&654321'
content = content.replaceAll(/(&)(.*)/, "" )
This wil result 123456
the only thing you need to use regular expressions in replace - add / /