Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

repeat pattern regex

cimv2:(?<operclass>[w_]+).((?<name>[w_]+)="(?<value>[w_]*)"([.,])*)*

Eg

"\PMS
ootcimv2:Win32_UserAccount.Domain="TEST",Name="Administrator""
 
PREVIOUS NEXT
Tagged: #repeat #pattern #regex
ADD COMMENT
Topic
Name
3+5 =