({{, (RefLink[InputAutoReplacements, paclet:ref/InputAutoReplacements])
is an option for cells and notebooks which specifies strings of characters that should be replaced immediately on input. }})

OpenersNotesSection(Spacer1)Details

The default setting of (RefLink[InputAutoReplacements, paclet:ref/InputAutoReplacements]) for (RefLink[Input, paclet:ref/Input]) styles typically includes such rules as "->"->"->".

In expression input, automatic replacements can be performed only on strings of characters that correspond to complete input tokens.

In textual input, automatic replacements can be performed on strings of alphanumeric characters delimited by spaces or other punctuation characters.

When material is copied from a notebook to the clipboard, replacements specified by (RefLink[ExportAutoReplacements, paclet:ref/ExportAutoReplacements]) are by default performed. Typically these replacements include ones that reverse the action of the replacements in (RefLink[InputAutoReplacements, paclet:ref/InputAutoReplacements]).

When material is pasted from the clipboard into a notebook, replacements specified by (RefLink[ImportAutoReplacements, paclet:ref/ImportAutoReplacements]) are by default performed. Typically these replacements are a subset of those given in (RefLink[InputAutoReplacements, paclet:ref/InputAutoReplacements]).

OpenersPrimaryExamplesSection(Spacer1)Examples  (1)

OpenersExampleSection0(Spacer1)Basic Examples  (1)

Create a notebook that uses exinei as shorthand for (RefLink[ExpIntegralEi, paclet:ref/ExpIntegralEi]):

nb=CreateDocument[{},InputAutoReplacements->{"exinei"->ExpIntegralEi}];

To use the shorthand, start by typing exinei:

When you type the bracket, the shorthand is automatically replaced:

({{DocumentationFooterIconsRelatedFunction.png, ({{See Also}, {(RefLink[InputAliases, paclet:ref/InputAliases])  ▪  (RefLink[$PreRead, paclet:ref/$PreRead])  ▪  (RefLink[Set, paclet:ref/Set])}})}})

({{DocumentationFooterIconsRelatedTutorial.png, ({{Tutorials}, {▪(RefLinkPlain[Options for Expression Input and Output, paclet:tutorial/OptionsForExpressionInputAndOutput])}})}})

({{DocumentationFooterIconsRelatedGuide.png, ({{Related Guides}, {▪(RefLinkPlain[Defining Custom Notation, paclet:guide/DefiningCustomNotation])}, {▪(RefLinkPlain[Automatic Text Styling Features, paclet:guide/AutomaticTextStylingFeatures])}, {▪(RefLinkPlain[Generalized Input, paclet:guide/GeneralizedInput])}})}})