Shulchan Arukh, Orach Chayim Siman 491
Can copy this into an AI, or connect the whole library to your assistant. For deeper learning, you can directly use the original seforim, sites, and apps.
במוצאי יום טוב בין במוצאי י"ט לחול בין במוצאי יום טוב לחולו של מועד מבדיל בתפלה כמו במוצאי שבת ומבדיל על הכוס כמו במוצאי שבת אלא שאינו מברך לא על הנר ולא על הבשמים:
The Havdalah service on the conclusion of a festival contains two parts. On the conclusion of a festival, whether it is the conclusion of a festival to a weekday or to an intermediate day, one recites the Havdalah prayer in the same way as one does at the conclusion of Shabbat, and recites the Havdalah blessing over a cup, but without reciting the blessings over the candle and the spices.
יום טוב שחל להיות במוצאי שבת אומר באתה בחרתנו ותודיענו:
When a holiday falls on Saturday night, one adds "and You made known to us" in [the blessing of] "You have chosen us"