Docs

RunMacro Documentation

Create your first robot, then go further as needed.

Clear step-by-step guides to create, run, and improve robots for repetitive computer work.

Docs Code Clean Text Format
🧽 Code

Clean clipboard text formatting in RunMacro

The Clean Text Format command edits the current clipboard content by options: remove uppercase, remove digits, remove special characters, remove spaces, or convert all to lowercase.

Prerequisites#

  • Add Clean Text Format to the macro.
  • Prepare the data or target that Clean Text Format will use.

Supported modes#

  • RunMacro Runner

What it does#

The Clean Text Format command edits the current clipboard content by options: remove uppercase, remove digits, remove special characters, remove spaces, or convert all to lowercase. The result is written back to the clipboard.

Screenshots & video#

RunMacro Clean Text Format command configuration dialog showing parameter fields
Configuration dialog and parameter fields for the Clean Text Format command in RunMacro.

When to use it#

  • Normalize data before filling a form.
  • Strip extra characters from copied content.
  • Build a clean string (letters/digits only) for usernames, codes...

When not to use it#

  • Do not use it when original whitespace, special characters, or formatting must be preserved.

Configuration steps#

  1. Make sure the clipboard has the text to clean.
  2. Add a Code › Clean Text Format command.
  3. Enable the options: remove uppercase/digits/special/spaces, or to lowercase. Save.

Every option explained#

Remove uppercase#

Removes all uppercase characters from the string.

Remove numbers#

Removes all digits.

Remove special characters#

Keeps only letters, digits, and spaces.

Remove spaces#

Removes all whitespace, joining into one string.

To lowercase#

Converts everything to lowercase.

Expected result#

After execution, Clean Text Format completes the described action and makes its result available to the next step.

Real example#

Example: build a lowercase no-space string#

  1. Copy "John Doe 123".
  2. Clean Text Format: to lowercase, remove numbers, remove spaces.
  3. Clipboard becomes johndoe.

Limitations and failure cases#

  • Cleaning rules can remove meaningful data; inspect output before overwriting a source variable/file.

Tips & common mistakes#

Chain it before Paste from Clipboard to fill normalized data.

Verification details#

  • commands/code.py
RunMacro robot

Robots do the work. Your time is yours.

Create a robot in minutes, no coding needed. Reliable execution, remote management, transparent costs — and you always stay in control.