text box that will leave only the last 4 digits entered

C

cj2k2k

I need help setting up a text box that will leave only the last 4 digits
entered.
This form is being filled with the use of a bar code reader. The barcode
has too much information and I only need the last 4 digits scanned. How do I
work this into the text box?
 
Top