Check out Such As or Like? by rogersgeorge. Here is an excerpt:
Here’s a good example of the difference.
https://www.gocomics.com/looseparts/2019/09/11 When you give an example, use “such as” when you’re describing something similar but not the same, use”like.”
(Yes, English has other uses for “like.”)
This post first appeared on The Writing Rag….
The full article is available here.