Remove Special Characters "\" using Zoho Deluge

Remove Special Characters "\" using Zoho Deluge

Who needs this? I don't know! I did, and I sure did not find any helpful information out there, not with this keyword though. So, if you find this article because you searched the same thing as I do, then hey, you're in luck! And do note that I am not a coder, but who cares, as long as we get the job done, right? So, here goes:
  1. //let's say we have a variable, a value that has "\" in it for whatever reason, and we would like to remove it, because of, well, reasons. For example
  2. var = "I am legend \\(just kidding\\)";
  3. //well you might ask, why would I have "\\" in my variable? One reason is that you used it in your search parameter, and "(" and other special characters cannot be accepted so you'd have to add "\", but now you need to remove it again after searching the records, bummer
  4. specialChar = ['\\'];  //yes, use single quote, trust me
  5. for each char in specialChar
  6. {
  7. newChar = char + "_"; //this is to combine the troublesome "\" with another character because heck, it has to be. Beats me why. Ask Zoho
  8. info newChar; // to know what you got so far
  9. // now to remove the "\"
  10. var = var.replaceAll(char, newChar); //believe me, the initial "\" in the 1st part of the "replaceAll" command is necessary
  11. var = var.replaceAll(newChar,""); //this is to remove all the special characters we added above
  12. info var; //now to get the result!
  13. }
In this case, the result should be "I am legend (just kidding)". Don't believe me? Copy my whole code and paste it on https://deluge.zoho.com/tryout
 and execute it!

Now you can use it to create/update record, or whatever you want for that matter. And, I am not sure if it works with other Zoho apps, you are very welcomed to try, though. Ok, I yapped too much already. That is all for today!

As always, good luck!

Nik, aplikasi.us
Zoho Premium Partner

p/s: Don't @ me, I'm not a coder nor was I aware of any article out there. My motto is, if it's stupid but it works, it's not stupid (most of the time, maybe). And if you don't want your code to be too long, you can just delete all my comments (the greyed-out texts) in the code above, goes without saying.
      • Recent Topics

      • Zoho Bookings <> Oulook

        When a user has their Outlook connected to Bookings should it be able to recognise existing meetings and not give those as available options ? If so, how long is the sync time : ie If i were to put a private meeting at 3pm in my Outlook, how long would
      • Currency Field Does Not show commas upon entry - leading to inaccurate entries!

        Hello Zoho.. When our sales reps are entering deals and the profit/revenue it is difficult to accurately enter numbers with lots of zeros when there commas are NOT added until the record is saved. Could commas be added to this filed type as it is being
      • Anyone get the OpenAI API to work in Zoho Meeting?

        Has anyone been able to get the OpenAI API to work in generating meeting summaries? I have been trying, but I get an error that says "OpenAI key notes request rate exceeded. Please try again later or upgrade your open AI account." I contacted Zoho support
      • How to find the number of companies within contacts

        I'm trying to track our database growth and want to find out how many companies we have in our database. is there an easy way to do this?
      • m2 is converted to Kader when switching from Dutch to English

        By default, our company works in Dutch. We sell a lot of products with m2 as a unit. Now we've noticed that if we change the language in Zoho to English, the usage unit 'm2' gets replaced by 'Kader'. We've got no idea why. I'd expect that the translation
      • Using IMAP configuration for shared email inboxes

        Our customer service team utilizes shared email boxes to allow multiple people to view and handle incoming customer requests. For example, the customer sends an email to info@xxxx.com and multiple people can view it and handle the request. How can I configure
      • UI and other enhancements in Community module

        Hello everyone, The Community module has undergone a UI revamp to improve user experience. In addition, we have introduced Status Board and Bulk Approval of posts to provide better engagement. Improved User Interface The new interface brings the following
      • Check Validation Rules all fields on Quick Edit on Record Details Page

        I've added validation rules for some fields in a module — let’s say 3 out of 6 fields have rules. On the Edit Page, if any of those fields have an error, I can’t save the form — which is good. But on the Details Page, I can still quick edit other fields
      • E-Invoicing Automation

        Do you have an API endpoint for pushing the invoice through the e-tims for Kenya
      • Easy way to create task from call

        In Bigin I would like to have easy way of creating the tast directly from the call. Now after the call I need to enter company record and create task there. There must be some easier and more user friendly way to create new task after the call!
      • How to design a big system diagram?

        Hey, we are implementing a huge CRM system including all our departments into the CRM, just like the new UI "CRM for everyone" motivates to do. We used Draw.io to predesign everything inside of a diagram. Something like blueprints, modules, custom fields,
      • Can we have Backorder Management ?

        Can we have Backorder Management ?
      • Create Funnel to Track Email Outreach Conversion

        Hello, We would like to create a funnel that measures: N° of emails sent -> N° of emails opened -> N° of emails responded We would like to measure this email response conversion rate for each of our SDRs. We use the analytics tool of Zoho CRM and not
      • Performance -> Extend Service -> Forms: How to use created form?

        So I have created a new Annual Evaluation form (cloned from the original one) and now I want to use it in an Appaisal cycle. QUESTION: How can I associate the form with the new Appraisal Template? Also, what is the difference between an Appraiser and
      • Zoho CRM - Rollup Field for "Total Calls TODAY"?

        Good afternoon, I'm trying to build a field that will track the total number of calls made to a lead in one day. This way i can organise my call queues by this to prioritise leads without an attempt. I can put in a Rollup field for *total* calls made
      • Magento 2 as data source for Analytics

        I see that Shopify is in Beta as a data source, any change that Magento 2 is in the works? We currently use Metrilo to parse our eCommerce data for marketing and would love to keep that inside our Zoho ecosystem. Thank you!
      • validation function for Stage QC means QC Done fileupload field not empty on Save

        validation function for Stage QC means QC Done field field not empty . if the fileupload has value also it showing the false statement on save how i fix this Also one more concern is Custom validation function work on blue print transaction. ///this is
      • Adding string / text fields to modules

        I'm working on a custom leads module with a layout for call center agents.  I need to add text fields that are for display purposes only to prompt call center agents.  I haven't found any way to add a field in Zoho CRM that doesn't accept input, ie. is
      • Avalara Integration To Simplify Tax Calculations

        We are delighted to inform you that Zoho FSM now allows integration with Zoho Books accounts that have Avalara integration enabled in them. Designed for businesses operating across different regions and jurisdictions, Avalara ensures tax accuracy by factoring
      • Restrict card movement in Kanban View

        Hello everyone, I’m wondering if there’s a way to prevent users from moving Deal cards in the Kanban view when grouped by Stage. On the Deal details page, I’ve implemented several validations to ensure users cannot change stages until all conditions,
      • How to handle multiple languages (Resume parser, Job opening, job board, career site) ?

        We are looking to bring Zoho Recruit to a market that needs to support 2 languages. The first thing we need to make sure is that the Candidate be flag with the language they speak. This is easy enough make a custom field that as the desire languages.
      • Zoho Sign & Analytics

        Hi, Is it possible to import data from Sign into Analytics?
      • adding attachment in sendmail script where attachment is in a CRM field

        Hi all, I have a custom field of type 'File Upload' in one of my modules in my CRM. I want to include the file in that field as an attachment to an email - which is done from a button on  the 'Results' module. I have created a script and a button to initiate an email from that module. The Deluge scripting window has allowed me to add arguments for all the fields I need to use except for the one file upload type field. My script currently looks like the below (content of the email omitted). As you
      • How to unvoid sales order ?

        Helo, We need to make a credit not from a voided invoice, which is linked to a voided sale order. I can't find a way to unvoid a sale order. There only a way to convert it to a Purchase order instead... The invoice can't be send back to draft because of the voided sale order. From a accountancy point of view, and treacability, we can't make a standalone credit note. What is the usual procedure? Thanks
      • Zoho Assist not rendering NinjaTrader chart properly

        Hi everyone. Just installed and testing Zoho Assist. I want to display my laptop' screen (Windows 11) on a monitor connected to my Mac mini. The laptop is running a stock trading program called NinjaTrader. Basically, when running, this program displays
      • CRM->INVENTORY, sync products as composite items

        We have a product team working in the CRM, as it’s more convenient than using Books or Inventory—especially with features like Blueprints being available. Once a product reaches a certain stage, it needs to become visible in Inventory. To achieve this,
      • openUrl in blueprints

        My customer wants to open a URL at the end of a blueprint transition. Seems this isn't possible right now but it would be very useful. In this thread, https://help.zoho.com/portal/en/community/topic/openurl-not-working the Zoho agent said that it's logically
      • Transfer image url from Zoho Forms to Zoho Analytics

        I am storing an image in a zoho form. When I pull the data from the form into zoho analytics the image field does not import. How do I pull in the image url location or the image into Zoho Analytics.
      • Modules are continuously loading

        Hi! We are not able to open the task modules, it keeps continuously loading
      • Introducing Image Upload Field

        Hello everyone, In this post we will discuss about the benefits and usage of the Image upload field. The field is available for standard and custom modules.  Usage: This field can be used to upload a gallery of images to a record and share the record with peers or customers. The record can be made accessible to users outside of Zoho CRM via Portals, where they can upload the necessary images. Preview, editing, and deleting images: The uploaded images can be directly edited and saved from the record
      • Create multiple leads from a zoho form subform to populate inside zoho crm lead module

        I have corporate clients with numerous employees. When these clients complete our Zoho Form, they can nominate individual employees—providing details like first name, last name, email, mobile number, etc.—using a subform inside the zoho form. Is it possible
      • BCC Dropbox on the Agency Module

        Good morning! We've recently implemented the BCC Dropbox feature on our Zoho CRM, but this only appears to be working on the Leads and Contractor (Contacts) modules. It would be incredibly useful for it to work on our Agency module too as a way of tracking
      • Unable to Retrieve refresh_token from Zoho Self-Client OAuth Flow

        Hello Zoho Support Team, I am currently integrating Zoho CRM with a custom Node.js backend using the Zoho OAuth 2.0 authorization process. I created a Self-Client from the Zoho API Console and generated an authorization code successfully. However, when
      • On create of Amc module get sub form data of last row and update in Schedule Vist End Date field in zoho crm

        @Iswarya B G @Bhoomi Joshi @Abinaya Praveen @Ishwarya SG @Haiku Technical Support On create of Amc module get sub form data of last row and update in normal module field Schedule Vist End Date field in zoho crm
      • Tip: when "\r\n" not working for new-lines when building a file using the .toFile() function

        As above, ran into an issue - "\n" was working for newlines, but "\r\n" was not working for newlines and carriage returns. Took me a bit but using hexToText("0D0A") in place of "\r\n" resolved this. Including in the forums to save others any drama.
      • Call transcrition working for ringcentral?

        I don't see anything about what telephony providers can be used. The Zoho support person A said that RingCentral isn't supported. Zoho support person B said that it works, just make sure the call recording link works. Excellent instructions here: Call
      • Multiple Pipelines

        Is it possible to create multiple candidate pipelines?
      • Showing meeting acceptances in CRM that originated from Outlook

        Hello Zoho Team, We send meeting invitations from Zoho CRM. Many of our recipients use Outlook and therefore use the RSVP buttons from Outlook to respond. They rarely, if ever, use the RSVP buttons from the Zoho invitation. Unfortunately, the meeting
      • Weekly Tips: Folder Sharing Simplified with Zoho Mail

        Let's say your team is working on a project that requires gathering numerous inputs via email. Your team lead, who manages the project, receives a flood of emails containing critical information. Instead of forwarding each email individually—which can
      • How to add a customized/dynamic Zoho Booking link in email footer?

        We just installed the latest version of the Zoho Desk <=> Zoho Booking extension from the marketplace and are quite happy to see the feature where a ticket-specific appointment booking link can be inserted in a reply. Is there any way to configure this
      • Next Page