In grammar, an expletive is a word that fills a structural position without referring to a particular person or thing. The usual English examples are it and there in certain uses. They are often called dummy subjects.

How to recognize it
Ask whether it refers to something already named or there identifies a place. If not, and the word fills a structural position in a pattern such as It is raining or There are two coats, it is a grammatical expletive.
Examples explained
Dummy it and there
It for weather or time. It is raining. The subject it fills the normal position before the verb. It has no antecedent. The same pattern appears in It is noon.
There to introduce something. There are two coats by the door. The construction introduces the two coats. The phrase by the door tells where they are.
Dummy it and existential there: two more clues
In It surprised us that the store closed early, it does not name a thing. The later clause tells what surprised us. You can move that clause to the front: That the store closed early surprised us. This is anticipatory it; in the weather example above, there is no later clause to move.
The there that introduces something is called existential there. Both uses can occur together: There is a seat there. The first there introduces a seat; the last points to its location.
When the same words have other jobs
In I found my coat. It was wet, it refers to the coat. In Leave the coats there, there points to a place. In everyday speech, expletive can also mean a swear word. The grammatical term describes how a word functions in a sentence.
Common mix-up
A dummy subject is not necessarily an error or a word to delete. These constructions are normal English. Also, the grammatical meaning of expletive is different from its everyday meaning of a swear word.
Quick check
Which there is an expletive: “There is a note on the desk” or “Put the note there”?
Reveal the answer and explanation
There is a note on the desk. There introduces the existence of a note. In Put the note there, it refers to a place.