Skip to main content
2 of 2
fixed regex description
Federico Poloni
  • 20.2k
  • 29
  • 47

I've added a warning similar to what Martin Sleziak suggests:

Warning for proxy

The warning looks for words1 that include the string proxy and later .edu2. You can see the regex I used along with some tests at regex101.com. It shouldn't catch examples of "proxy" found in the post body. Unfortunately, it doesn't pick up all listed proxy links nor does it rewrite the URL for the user.

Please let me know if there are any problems with this warning or if I should change the regex to warn about a wider range of URLs.


Footnotes:

  1. As defined as a consecutive string of letters, numbers, dashes and/or periods.
  2. For this site, most proxies seem to be associated with educational institutions.