I have a text file and just need to check version value mentioned in that text file. I have to grep version value (0.0.1) and check that value in VBScript If
condition. If version is increased (0.0.2), next time script will need to check the new version. I usually do it in shell script, but I don't know how to do it in windows VBScript.
{
"name": "iap",
"version": "0.0.1",
"ignore": [
"poc"
],
"devDependencies": {
"angular": "~1.2",
"oclazyload": "~0.3",
}
You could use a regular expression to match that particular line and extract the version information: