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

- Make sure the clipboard has the text to clean.
- Add a Code › Clean Text Format command.
- Enable the options: remove uppercase/digits/special/spaces, or to lowercase. Save.
Options reference
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
- Copy "John Doe 123".
- Clean Text Format: to lowercase, remove numbers, remove spaces.
- 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
