Jump to content
Ketarin forum

Help with a few ASUS regex queries


mikeparkie
 Share

Recommended Posts

Download links are coming from here:  

http://support.asus.com/download.aspx?SLanguage=en&m=X99-S&p=1&s=42&os=45&hashedid=qCCN4VASDw933uL6

 

I'm after the following files

 
And I also need to clear the version numbers up, so they appear as 1.0.0 rather than 1_0_0 or 1-0-0.
 
Could someone give me a hand with the regex please. I got as far as 
\bChipset_V\d{1,3}_\d{1,3}_\d{1,3}_\d{1,3}

But I keep stumbling, still learning regex, it's an acquired art I'm SLOWLY getting to grips with :(

 

Thanks in advance :D

Link to comment
Share on other sites

The first link contains the page with multiple downloads on, each of the following links are the full urls for the direct downloads

I then use two variables (in the case of the Chipset drivers) to create the full url

 

 

Variable 1 (url)

http://dlcdnet.asus.com/pub/ASUS/misc/utils/Chipset_V{version}_WHQL_X99.zip

Variable 2 (version)

regex?

So I need some regex to match each of the blue version numbers? :P

Link to comment
Share on other sites

how about the others?  :)

 

Play around with prefix (Chipset_V in example), if necessary add according suffix, to limit the capture ;)

 

 

In the meantime can you recommend a good regex tutorial so I can figure them out by myself?  :)

 

Unfortunately I don`t, I tend to just experiment, if I don`t know how to exactly capture something. 

And occasionally I use this to help me out: http://www.ultrapico.com/expresso.htm

Link to comment
Share on other sites

ha ha, cheeky I know, thanks for the assistance, I will have a play with that tool and see if educates me :D

 

Update: thanks for the advice and tools, I've managed to do the regex for the remaining drivers now! I expect the urls to break when the new versions are updated because of ASUS's naming convention, but now I have (albeit) some skills.    

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.