I want to search number with specific format from string and increment the last number by 1 using powershell. The string is taken from large txt file.
Example:
$str = "Android version 4.4.2, Alfa = 1.2.0400, Beta = 2.0.0200, Prod 3.4.0104"
I want to increase beta version by 1 (2.0.0200 ==> 2.0.0201),
After run powershell command:
$str = "Android version 4.4.2, Alfa = 1.2.0400, Beta = 2.0.0201, Prod 3.4.0104"