Regular Expressions 101

Community Patterns

Extract Rapidgator Links from a HTML web page (Works for and


Regular Expression
PCRE2 (PHP >=7.3)

https:\/\/r(?:g|apidgator)\.(?:to|net)\/file.*?(?:(?=">)|(?:html|htm|rar|zip|txt)(?=" ))


  • Click "open regex in editor" to open regex.
  • Open a webpage containing Rapidgator Links - Either or
  • Right-click anywhere on the page and select "view page source"
  • Copy the HTML markup containing the Rapidgator links to
  • Paste the HTML markup and set mode to match
  • Locate the match information section and click on the Export icon
  • Select "Plain Text" from the popup modal side menu
  • Copy your Rapidgator Links without stress.

If it's helpful to you, don't forget to upvote so that others can benefit as well.

Submitted by SmartCoder - 2 years ago