To express how many glitter pens Lindsey puts in each goody bag, you can take the total number of pens and divide it by the number of goody bags.
The expression would be:
\[ \frac{24}{b} \]
where \( b \) represents the number of goody bags. This expression indicates that Lindsey puts \( \frac{24}{b} \) glitter pens in each goody bag.