"Ex." is not very common, but it may be used to refer to a cited example, eg "See ex. 3". "E.g." is much more common, and is used to introduce an example, or series of examples. In speech, it is usually replaced by "for example". More @Wikipedia
Hover over any link to get a description of the article. Please note that search keywords are sometimes hidden within the full article and don't appear in the description or title.