Got more questions? Find advice on: ASP | SQL | XML | Windows
Welcome to RegexAdvice Sign in | Join | Help

Find username but not share name

  •  03-19-2008, 10:04 AM

    Find username but not share name

    I new to regex, using PowerShell (.Net).

    I try to match strings underlined below in the form of domainname\username:

    something domain\user something

    something (domain\user) something

    domain\user something

    something domain\user.

    But do not find:

    something \\server\share something

    something \\server\share\subfolder something

    Thanks!

    Tibor

    Filed under: ,
View Complete Thread