TMI & gross! *** If my dog has worms, would they move around in her throw up?

So this is the first dog I have ever had. She threw up twice in the last two days. I’m planning on taking her to the vet tomorrow. Well I looked at her throw up because online it said she could have worms.. and I did see these like lines in her throw up? But it kind of looked like grass, but yellow-ish. They weren’t moving though at all.. could that be worms?!!!!?!!!! I’m freaked out. Her throw up was also brown both times