mikeparkie Posted February 15, 2011 Report Share Posted February 15, 2011 I promise to do a full read up on regexpression at the weekend but in the mean time can someone help me with this. Download URL is http://www.macroplant.com/release/iPhoneExplorerPC_2100.zip Version is "2.100" from: http://www.macroplant.com/iphoneexplorer/ How do I remove the "." ?? Thanks in advance mikeparkie Link to comment Share on other sites More sharing options...
andreone Posted February 15, 2011 Report Share Posted February 15, 2011 Here's a way, not regex based, but using Ketarin's built in macros: http://www.macroplant.com/release/iPhoneExplorerPC_{version:replace:.:}.zip Assuming that version is the name of the variable you store the version number into. Link to comment Share on other sites More sharing options...
Omniferum Posted February 16, 2011 Report Share Posted February 16, 2011 To answer your question . is a wildcard character in regex. To make your regex treat . as the period symbol (or any special regex character as literal) you need to apply \ before it. Examples \. \( \? \* Regardless there is no real need for you to set version, that page only posts the latest version. .*\.\.([^"']+\.zip) That'll do what you want it to do. Link to comment Share on other sites More sharing options...
mikeparkie Posted February 16, 2011 Author Report Share Posted February 16, 2011 Excellent, thanks guys, just what I needed Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now