The Extract Parameter refactoring creates a parameter which holds the selected expression as the value and replaces its occurrences by reference to this newly created parameter.

You can opt to:

In order to invoke the refactoring, select an expression to be replaced with a parameter or place the caret over an expression and press &shortcut:IntroduceParameter; (Refactor | Extract | Parameter...):

Extract parameter

This will result in the following:

Extract parameter