Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

My current regex looks like this:

  ^(\w*)://www.reddit.com/(?!r/[^/]*/s/|media|gallery|notifications|appeals)(.\*)
Mapping to

  $1://old.reddit.com/$2


Consider applying for YC's Fall 2026 batch! Applications are open till July 27.

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: