Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save Artisan-Asad/47b9f29422c58d2fd76923117ff70975 to your computer and use it in GitHub Desktop.
Save Artisan-Asad/47b9f29422c58d2fd76923117ff70975 to your computer and use it in GitHub Desktop.
Regular expression to test if a URL is a WordPress plugin repository URL
'|^http[s]?://wordpress\.org/(?:extend/)?plugins/|'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment