Skip to main content

Replace

Replace[expr,rules] applies a rule or list of rules in an attempt to transform the entire expression expr. 

Replace[expr,rules,levelspec] applies rules to parts of expr specified by levelspec.

Replace[rules] represents an operator form of Replace that can be applied to an expression.

Please visit the official Wolfram Language Reference for more details and examples on core symbols.