Regular Expressions 101

Community Patterns

Community Library Entry

0

Regular Expression
PCRE (PHP <7.3)

/
\\(?<PatientId>[^\\]+)\\\w+\.(?:\d+\.)+dcm
/

Description

Extraction of ID fails in Splunk search window, as an illustration to case 2124568 (https://splunkcommunities.force.com/customers/5005a00001j1gHcAAI)

Submitted by Jonathan Martens <jonathan.martens@maastro.nl> - 4 years ago