We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2cea4ea commit 6b4d10bCopy full SHA for 6b4d10b
Flow Actions/Extract JSON Key without Flow Transformation/extract-json-key.js
@@ -0,0 +1,5 @@
1
+(function execute(inputs, outputs) {
2
+var htmlString = inputs.htmlValue; // Assuming HTML string is stored in the input variable htmlValue
3
+var plainText = htmlString.replace(/<[^>]+>/g,''); // Regex to replace HTML tags
4
+outputs.plainString = plainText.trim(); // Trimming the whitespaces, if any and pushing the string without HTML to output variable plainString
5
+})(inputs, outputs);
0 commit comments