Can I substitute regular coffee for instant coffee/espresso?

A recipe calls for 2 teaspoons of instant coffee but I only have regular coffee and don't want to buy a whole can of instant for only 2 teaspoons. Can I use the regular coffee as a substitute?

Previous post:

Next post: