Regular Expressions 101

Community Patterns

0

ipv4

PCRE2 (PHP >=7.3)
Find ipv4 addresses
Submitted by anon - a year ago
0

test

PCRE2 (PHP >=7.3)
test
Submitted by test - a year ago
0

regex_commercial_activities

PCRE2 (PHP >=7.3)
guifro
Submitted by guifro - a year ago

Convert an LDIF from DS A into LDIF in DS B in one Regex

1

Regular Expression
PCRE (PHP <7.3)

/
dn: \t"CN=(.*?),OU=(.*?),DC=(PACRIM1|global|honeywell|namerica1|namerica2|namerica3|namerica4),.*\t\tdescription:\t\t(.*)\tdisplayName: \t\t(.*)\t\thwObjectGUID: \t\t(.*)\t\textensionAttribute7: \t\t(.*)\t\tmail: \t\t(.*)\t\tobjectClass: \t\t(.*)
/
g

Description

Loading markdown...
Submitted by anonymous - 7 years ago