Please enable JavaScript to use regex101
/
^
r
e
g
e
x
[
\
-
_
]
?
1
0
1
$
/
i
Reg
ular
Ex
pressions
101
Upgrade to Pro
Enterprise
Regular Expression
/
<EventTypeCode csd-code=\"(?<myEventTypeCode>\w{3}\-\d{2})\"
/
gs
Input 1
<85>1 2020-03-22T18:00:44.389Z hcoxadepdtest01-app06-icwpxs01.net.swisscom-health.it icw-chr 48261 IHE+RFC-3881 - <?xml version="1.0" encoding="UTF-8"?> <AuditMessage> <EventIdentification EventActionCode="E" EventDateTime="2020-03-22T18:00:44.388Z" EventOutcomeIndicator="0"> <EventID csd-code="110112" codeSystemName="DCM" originalText="Query" /> <EventTypeCode csd-code="ITI-18" codeSystemName="IHE Transactions" originalText="Registry Stored Query" /> </EventIdentification> <ActiveParticipant UserID="2f66e56b-7d4e-4fb3-86ad-ba53a2208b5f" AlternativeUserID="48261" UserName="" UserIsRequestor="true" NetworkAccessPointID="10.1.44.2" NetworkAccessPointTypeCode="2"> <RoleIDCode csd-code="110153" codeSystemName="DCM" originalText="Source Role ID" /> </ActiveParticipant> <ActiveParticipant UserID="1111111111139" UserName="Gabriela Brunner-Mühlethaler" UserIsRequestor="true"> <RoleIDCode csd-code="HCP" codeSystemName="2.16.756.