I'm working with the Dynamic Disk Monitor in SiteScope and I need a regex that exclude the word "Harddisk" and the character "D".
So far, I found this:
^(?!.*Harddisk).*/percent full
How do I add the part for the exclusion of "D" in the same expression? I tried this and didn't work:
^(?!.*Harddisk|^D).*/percent full
More details:
This expression brings the percent full of all the Disks that the server has:
/.*/percent full/
This exclude all the disk that its name start with "Harddisk":
/^(?!.*Harddisk).*/percent full/
What I need is to improve the last expression for exclude all the "Hard Disk" and besides, the disk "D".
Thank you in advance for your help.
Regards, Estrella.
A coworker helped me and found the answer and I wanted to share it with you:
I hope this helps.
Thanks to everyone who answered this!
-Estrella