Skip to main content

Remove characters

Strip digits, letters, punctuation, spaces, line breaks or accents (é becomes e), or characters you list, e.g. to clean phone numbers or IDs.

Command in the String toolkit · id ooa.string/remove_characters · 9 inputs (1 required), 1 output

Inputs​

InputTypeRequiredDefaultWhat it is
TextStringYesText to clean.
DigitsBooleanNofalseRemove 0-9.
LettersBooleanNofalseRemove letters of any alphabet.
PunctuationBooleanNofalseRemove punctuation and symbols such as . , - ( ) / # @.
SpacesBooleanNofalseRemove spaces and tabs.
Line breaksBooleanNofalseRemove line breaks.
Accents (é to e)BooleanNofalseKeep the letters but drop their accents: café becomes cafe, Müller becomes Muller.
CharactersStringNoAny other characters to remove, typed one after another, e.g. $€£.
Keep only these insteadBooleanNofalseKeep only the ticked kinds and listed characters, removing everything else (e.g. tick Digits to keep only digits).

Outputs​

OutputTypeWhat it is
resultStringThe cleaned text.