can you help me out to fetch some value from this string which is below
ldn2spc2.ebrd.comDiskUtilization-D(Disk) --> Disk Utilization 100 > 95
%(threshold)
I want to fetch the drive letter which before "Disk" in this case which is 'D'.
I have tried this regex
ebrd.comDiskUtilization-(\D*)\ --
which give D(Disk)
but my requirement is to fetch only drive letter.
Please help.