There are lots of ways to get into D&D without spending much money. You can find free online communities on sites like Discord to play virtually. That way you just need an account, not books or dice. Popular shows like Critical Role or Dimension 20 have Discord servers to meet other fans and play.
Facebook also has groups to connect with players locally or online. If you prefer in-person games, check if your local game store hosts D&D nights. That's a great way to learn.
Another idea is to get your friends together for a one-time game night. Order pizza, make characters, and give D&D a try just for fun. Often people find it so enjoyable that they want to keep playing after one session.