DocsCodeClean Text Format

Clean clipboard text formatting in RunMacro

RunMacro RunnerRunMacro 3.5+

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.

Dialog & quick setup

RunMacro Clean Text Format command configuration dialog showing parameter fields
Configuration dialog and parameter fields for the Clean Text Format command in RunMacro.
  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.

Options reference

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.

Modes & when to use

RunMacro Runner

Best for

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

Use an alternative when

  • Do not use it when original whitespace, special characters, or formatting must be preserved.
Before you run
  • Add Clean Text Format to the macro.
  • Prepare the data or target that Clean Text Format will use.

Example workflow

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.
Expected result: After execution, Clean Text Format completes the described action and makes its result available to the next step.

Tips & limitations

Chain it before Paste from Clipboard to fill normalized data.
  • Cleaning rules can remove meaningful data; inspect output before overwriting a source variable/file.

Applies to RunMacro 3.5+ · RunMacro Runner · Windows 10/11

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.