Jump to content
Ketarin forum

More Regex for newbies (Web pages with latest releases on the bottom)


Omniferum
 Share

Recommended Posts

Admittedly my previous regex post was a tad long and can be a bit daunting. Regardless this one is a bit simpler.

 

If you want to find the LAST thing that regex can find with its match you need to do the following.

 

.*(allyourregexgoeshere)

 

So using my regex it would look like

 

.*(http[^"'=]+(\.zip|\.rar|\.7z))

 

This is for web pages that list there downloads with the latest release starting at the bottom rather than the top.

Edited by Omniferum
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.