How can extract the version in this path


j
@yosiasz @grant2
please suggest i want to extrace the version of grafana.

Assuming your input string is C:\ProgramFiles\Grafana-Labs\svc-11.5.0.0\nssm.exe

and you want to capture the sequence of numbers and dots that follows svc- and precedes \nssm.exe.

Try using the “Rename by Regex” transformation:

  • Regex: .*svc-(\d+\.\d+\.\d+\.\d+).*
  • Replacement: $1