import re
h=open(r'D:\work buddy\2026-11-05-14-15-52\index_main.html',encoding='utf-8').read()
progs=re.findall(r'\{id:"([^"]+)",s:"([^"]+)",n:"([^"]+)",en:"([^"]+)"',h)
for sid,sc,n,en in progs:
    if sc in ('emory','nyu','jhu') and any(k in en.lower() for k in ['economics','mathematics','bioinformatics','entrepreneurship','management']):
        print(sc,'|',n,'|',en)
