Regular Expressions 101

Community Patterns

Windows SID

1

Regular Expression
PCRE (PHP <7.3)

/
S-1-5-((32-\d*)|(21-\d*-\d*-\d*-\d*))
/
g

Description

https://msdn.microsoft.com/en-us/library/windows/desktop/aa379649%28v=vs.85%29.aspx S-1-5-32-552 #The built-in system domain. S-1-5-21-109736768-1684412531-2440353719-701 # SIDS are not unique.

Submitted by anonymous - 8 years ago