Question: substitute a single variable for a particular expression in a larger expression

I have a number of expressions.  An example is:

 

-1/3*(xjm1^2-2*xj*xjm1+xj^2+3)/(xjm1-xj)

 

I would like to substitue the expression h=xj-xjm1, which in this case would result in

 

1/h+2*h/6.

 

Does anyone know how I can make this sort of substitution in Maple automatically?

Please Wait...