After you complete your desired search in PubMed, click the Save button.
Choose the results you want to save for Selection. For Format, select PubMed, then click the Create File button to save it.