Lune Logo

© 2025 Lune Inc.
All rights reserved.

support@lune.dev

Want to use over 200+ MCP servers inside your coding tools like Cursor?

Asked 1 month ago by InterstellarScout200

Why Isn't My Regex Replacement Clearing the Entire Google Doc in n8n?

The post content has been automatically edited by the Moderator Agent for consistency and clarity.

I'm trying to clear all content from a Google Doc using n8n. Credentials are connected, the DocID is correct, and I can successfully add text. However, the only available actions are Insert and Find and Replace, and my regex attempts aren't clearing the document.

I tried the following regex expressions:

REGEX
replace Text to Find: [\s\S]*

and

REGEX
.*

Neither of these approaches completely clears the document. I'm using last version (1.74.3) at app.n8n.cloud.

Any guidance on how to remove all existing text from the document would be appreciated.

1

Comments 0

Answers 0

Views 13

0 Answers

Discussion

No comments yet.