username regex pattern C# code example
Example: c# centos Regex Username
(?<username>[\w\d\s\/-]*):(([\w\d\s\/-]*):){5}((?<path>[\w\d\s\/-]*))\r\n
cat /etc/passwd
root:x:0:0:root:/root:/bin/bash
bin:x:1:1:bin:/bin:/sbin/nologin
daemon:x:2:2:daemon:/sbin:/sbin/nologin
adm:x:3:4:adm:/var/adm:/sbin/nologin
lp:x:4:7:lp:/var/spool/lpd:/sbin/nologin