REGEX – Match all the absolute path with more than one subfolder
Advertisements i have a series of string representing disks on a file system. I would like to match all the strings with more than one subfolder. Ex: /dev/sda1 (no match) / (no match) /dev (no match) /dev/mapper/usr (match) /dev/test/local (match) I’ve tried something like: ^\/[^\/]+\/[^\/]+\/[^\/]+$ But would like to have something more generic that matches… Read More REGEX – Match all the absolute path with more than one subfolder