Hey guys, I am getting some messages from ChatGPT that might be a JSON, or they may contain a JSON.
I want to create a Text Parser module that only extracts the JSON, so I can then use it in subsequent modules.
I have built the Regex formula, if I test it on the website provided in the documentation of Make.com, the Regex formula works perfectly well. - www.regex101.com
Sample Text 1
Sample Text 2
However, if I try to run the same Regex formula, I am getting the following result:
Here is the module setup:
Here are the sample texts:
Text 1:
{
“link”: “https://actexpo2024.smallworldlabs.com/exhibitors”,
“Request Type”: “GET”,
“Request Body”: “”
}
Text 2:
Here is the JSON structure compiled based on your answer:
{
“link”: “https://actexpo2024.smallworldlabs.com/exhibitors”,
“Request Type”: “GET”,
“Request Body”: “”
}
This structure indicates that the request made to the URL is of type GET and there is no request body involved, which is typical for GET requests. If you need to adjust or add additional details, let me know!
Any idea why I am getting an empty collection as a result from the Text Parser module?
PS: I have no idea how to build regex formulas. I am building them with ChatGPT and testing them on regex101.com. So I am not sure why the formula is set up the way that it is.