Код:

FileIn = "Z:\Где файл\1c_to_kl.txt"
Section = Array("mediaInfo")
Fin = "ПоказательТипа=\d* *"
Rep = "ПоказательТипа=2"
Set R = CreateObject("VBScript.RegExp")
With R
.Global = True
.Pattern = Fin
.IgnoreCase = True
End With
With CreateObject("Scripting.FileSystemObject")
With .OpenTextFile(FileIn, 1)
InTxt = Split(.ReadAll, "[")
.Close
End With
For i = 0 To UBound(InTxt)
For Each s In Section
If InStr(1, InTxt(i), s + "]", 1) = 1 Then
InTxt(i) = R.Replace(InTxt(i), Rep)
Exit For
End If
Next
Next
With .OpenTextFile(FileIn, 2, True)
.Write Join(InTxt, "[")
.Close
End With
End With