Extract tokens