Using only part of an extension dialed

I’ve seen this example before but can’t find it now, I basically want to dial 8XXX and have the dialplan be able to get the XXX out for use. Any ideas?

Wouldn’t it just be accessing the dialed digits via

${EXTEN:1}

[quote=“mmetzger”]Wouldn’t it just be accessing the dialed digits via

${EXTEN:1}[/quote]

that is correct, the :1 strips off the leading digit. :2 would strip off the first two digits, and so on…