Home URI Linux Folder Path Regular Expression Linux Folder Path Regular Expression A regular expression to match the path of a directory in Linux. /^\/(?:[^/]+\/)*$/ Click To Copy Linux Hidden File Path Examples: /usr/ad/dd/ / /root/ See Also: Windows Folder Path Regular Expression Regex To Check If Is A Valid Folder Name # Linux Previous Post Linux Hidden File Path Regular Expression Next Post Windows File Path Regular Expression More Like This: Linux Hidden File Path Regular Expression Linux File Path Regular Expression