
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-27-2023 04:08 AM
Hi experts,
I'm trying to remove the apostrophe from an inbound action email body. I've tried various script which have a variation of;
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-27-2023 04:56 AM - edited 09-27-2023 04:58 AM
Thanks for the input, try the one below.
var messageBody = email.body_text;
messageBody = messageBody.replaceAll("'", '"').replaceAll("#39;", '"');
Please mark my answer helpful and accept as solution if it helped you 👍✔️
Anvesh
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-27-2023 05:28 AM
I tried this in Background script, it was working 😀 Keep exploring.
Anvesh

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-27-2023 05:25 AM
Neither of these work unfortunately guys - thanks for your help though - I'll keep trying 🙂
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-27-2023 05:28 AM
I tried this in Background script, it was working 😀 Keep exploring.
Anvesh

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-27-2023 05:29 AM
Ah ok! That's promising. Thank you 🙂

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-27-2023 05:35 AM
This is correct! Apolgies - I was must've entered it incorrectly initially. Thank you 🙂