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