Jump to content
Ketarin forum

Sourceforge regex question


illwill
 Share

Recommended Posts

http://sourceforge.jp/projects/crystaldiskinfo/

 

shows the current version as 3.3.0 on that page

 

but the download link uses _ underscores for the version

 

http://jaist.dl.sourceforge.jp/crystaldiskinfo/45240/CrystalDiskInfo3_3_0.zip

 

 

im using variable to get the "3.3.0" from the page as {version}

how would i use regexreplace to get the 3.3.0 to 3_3_0 to make the download link

 

 

i cant use it in the url right?

something like this

jaist.dl.sourceforge.jp/crystaldiskinfo/45240/CrystalDiskInfo{version:regexreplace:([0-9]{1,2\}).([0-9]{1,2\}).([0-9]{4\}):$1_$2_$3).zip

Edited by illwill
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.