Regular Expressions 101

Community Patterns

Community Library Entry

2

Regular Expression
PCRE2 (PHP >=7.3)

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

Description

  • Click "open regex in editor" to open regex.
  • Open a webpage containing Rapidgator Links - Either rg.to or rapidgator.net
  • Right-click anywhere on the page and select "view page source"
  • Copy the HTML markup containing the Rapidgator links to regex101.com
  • 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