Asking for help, clarification, or responding to other answers. How to format a JSON string as a table using jq? By clicking Post Your Answer, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct. What is the grammatical basis for understanding in Psalm 2:7 differently than Psalm 22:1? When to use the backslash character in Java? My purpose is to use above string to create nodes in Zookeeper. Using multiple delimiters is definitely a Perl thing. (dd300\/.+?,) The parentheses are only necessary when you need to access the matched string. oJsonObject = NEW JsonObject (). You store following tokens in index: Thanks, it's quite new to me (inherited code) so I'll look at the tokens in more detail, that sounds like it makes sense. Asking for help, clarification, or responding to other answers. Asking for help, clarification, or responding to other answers. 587), The Overflow #185: The hardest part of software is requirements, Starting the Prompt Design Site: A New Home in our Stack Exchange Neighborhood, Temporary policy: Generative AI (e.g., ChatGPT) is banned, Testing native, sponsored banner ads on Stack Overflow (starting July 6), How to escape forward slash in java so that to use it in path. To learn more, see our tips on writing great answers. Allow "/" forward slash in regular expression, regular expression for double slash in javascript. To learn more, see our tips on writing great answers. Many thanks I'll look at how we are using/building tokens in the index builder. As the forward slash (/) is special character in regular expressions, it has to be escaped with a backward slash (\). html <h1 style="color: green"> GeeksForGeeks </h1> How to globally replace a forward slash in a JavaScript string? Allowing \/ helps when embedding JSON in a