Dial rules with replacing

Hi!

I needs in dial rule(I needs replacing number 8 to number 7):
8(replace to 7)NXXXXXXXXX

Give me please how to do it.

Thanks!

8|7+NXXXXXXXXX
Thanks:)