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
r"
\((\w{4},\w{4})\) (?:\w+|na) (?:\[(.*?)\])?.*#.* (\w+)$
"
g
Input 1
1
New
# Used TransferSyntax: JPEG Lossless, Non-hierarchical, 1st Order Prediction (0008,0005) CS [ISO_IR 100] # 10, 1 SpecificCharacterSet (0008,0008) CS [ORIGINAL\PRIMARY] # 16, 2 ImageType (0008,0016) UI =UltrasoundImageStorage # 28, 1 SOPClassUID (0008,0018) UI [1.2.826.0.1.3680043.2.1545.1.2.1.7.20231229.182711.644.28] # 58, 1 SOPInstanceUID (0008,0020) DA [20231229] # 8, 1 StudyDate (0008,0021) DA [20231229] # 8, 1 SeriesDate (0008,0022) DA [20231229] # 8, 1 AcquisitionDate (0008,0023) DA [20231229] # 8, 1 ContentDate (0008,002a) DT [20230718145944] # 14, 1 AcquisitionDateTime (0008,0030) TM [182711] # 6, 1 StudyTime (0008,0031) TM [182711] # 6, 1 SeriesTime (0008,0032) TM [182711] # 6, 1 AcquisitionTime (0008,0033) TM [182711] # 6, 1 ContentTime (0008,0050) SH [P102S126] # 8, 1 AccessionNumber (0008,0060) CS [US] # 2, 1 Modality (0008,0070) LO [SAMSUNG MEDISON CO., LTD.] # 26, 1 Manufacturer (0008,0080) LO [HINDAWI DIAGNOSTIC CENTRE] # 26, 1 InstitutionName (0008,0090) PN [DR. POOJA VISHANDASANI] # 22, 1 ReferringPhysicianName (0008,1010) SH [V7] # 2, 1 StationName (0008,1030) LO [Pregnancy/OBS Target] # 20, 1 StudyDescription (0008,103e) LO [SeriesDescription] # 18, 1 SeriesDescription (0008,1050) PN [DR. SHOAIB HUSSAIN] # 18, 1 PerformingPhysicianName (0008,1070) PN [USR] # 4, 1 OperatorsName (0008,1090) LO [V7] # 2, 1 ManufacturerModelName (0008,1111) SQ (Sequence with explicit length #=1) # 104, 1 ReferencedPerformedProcedureStepSequence (fffe,e000) na (Item with explicit length #=2) # 96, 1 Item (0008,1150) UI =ModalityPerformedProcedureStepSOPClass # 24, 1 ReferencedSOPClassUID (0008,1155) UI [1.2.410.200001.101.11.809.1108235107.4.20230718145944136] # 56, 1 ReferencedSOPInstanceUID (fffe,e00d) na (ItemDelimitationItem for re-encoding) # 0, 0 ItemDelimitationItem (fffe,e0dd) na (SequenceDelimitationItem for re-encod.) # 0, 0 SequenceDelimitationItem (0010,0010) PN [78666666] # 8, 1 PatientName (0010,0020) LO [102] # 4, 1 PatientID (0010,0030) DA [20231227] # 8, 1 PatientBirthDate (0010,0040) CS [M] # 2, 1 PatientSex (0018,1000) LO [S2FPM3HT700006] # 14, 1 DeviceSerialNumber (0018,1020) LO [1.00.00.3222] # 12, 1 SoftwareVersions (0018,1030) LO [Free Form] # 10, 1 ProtocolName (0018,6011) SQ (Sequence with explicit length #=1) # 140, 1 SequenceOfUltrasoundRegions (fffe,e000) na (Item with explicit length #=11) # 132, 1 Item (0018,6012) US 1 # 2, 1 RegionSpatialFormat (0018,6014) US 1 # 2, 1 RegionDataType (0018,6016) UL 3 # 4, 1 RegionFlags (0018,6018) UL 0 # 4, 1 RegionLocationMinX0 (0018,601a) UL 105 # 4, 1 RegionLocationMinY0 (0018,601c) UL 1599 # 4, 1 RegionLocationMaxX1 (0018,601e) UL 1007 # 4, 1 RegionLocationMaxY1 (0018,6024) US 3 # 2, 1 PhysicalUnitsXDirection (0018,6026) US 3 # 2, 1 PhysicalUnitsYDirection (0018,602c) FD 0.013795712001320708 # 8, 1 PhysicalDeltaX (0018,602e) FD 0.013795712001320708 # 8, 1 PhysicalDeltaY (fffe,e00d) na (ItemDelimitationItem for re-encoding) # 0, 0 ItemDelimitationItem (fffe,e0dd) na (SequenceDelimitationItem for re-encod.) # 0, 0 SequenceDelimitationItem (0020,000d) UI [1.2.826.0.1.3680043.8.498.37681716679709206119384351952742421204] # 64, 1 StudyInstanceUID (0020,000e) UI [1.2.826.0.1.3680043.2.1545.1.2.1.7.20231229.182711.109.27] # 58, 1 SeriesInstanceUID (0020,0010) SH [5176] # 4, 1 StudyID (0020,0011) IS [1] # 2, 1 SeriesNumber (0020,0013) IS [100100100] # 10, 1 InstanceNumber (0020,0020) CS (no value available) # 0, 0 PatientOrientation (0028,0002) US 3 # 2, 1 SamplesPerPixel (0028,0004) CS [RGB] # 4, 1 PhotometricInterpretation (0028,0006) US 0 # 2, 1 PlanarConfiguration (0028,0010) US 1023 # 2, 1 Rows (0028,0011) US 1600 # 2, 1 Columns (0028,0014) US 0 # 2, 1 UltrasoundColorDataPresent (0028,0030) DS [0.137957\0.137957] # 18, 2 PixelSpacing (0028,0100) US 8 # 2, 1 BitsAllocated (0028,0101) US 8 # 2, 1 BitsStored (0028,0102) US 7 # 2, 1 HighBit (0028,0103) US 0 # 2, 1 PixelRepresentation (0028,1050) DS [128] # 4, 1 WindowCenter (0028,1051) DS [256] # 4, 1 WindowWidth (0028,2110) CS [00] # 2, 1 LossyImageCompression (0040,0244) DA [20231229] # 8, 1 PerformedProcedureStepStartDate (0040,0245) TM [182711] # 6, 1 PerformedProcedureStepStartTime (0040,0253) SH [20230718145944] # 14, 1 PerformedProcedureStepID (0040,0254) LO [Pregnancy/OBS Target] # 20, 1 PerformedProcedureStepDescription (0040,0275) SQ (Sequence with explicit length #=1) # 32, 1 RequestAttributesSequence (fffe,e000) na (Item with explicit length #=3) # 24, 1 Item (0040,0007) LO (no value available) # 0, 0 ScheduledProcedureStepDescription (0040,0009) SH (no value available) # 0, 0 ScheduledProcedureStepID (0040,1001) SH (no value available) # 0, 0 RequestedProcedureID (fffe,e00d) na (ItemDelimitationItem for re-encoding) # 0, 0 ItemDelimitationItem (fffe,e0dd) na (SequenceDelimitationItem for re-encod.) # 0, 0 SequenceDelimitationItem (0400,0561) SQ (Sequence with explicit length #=1) # 160, 1 OriginalAttributesSequence (fffe,e000) na (Item with explicit length #=5) # 152, 1 Item (0400,0550) SQ (Sequence with explicit length #=1) # 46, 1 ModifiedAttributesSequence (fffe,e000) na (Item with explicit length #=1) # 38, 1 Item (0010,0010) PN [Mrs.Vineeta Kesharwani 25Y/F] # 30, 1 PatientName (fffe,e00d) na (ItemDelimitationItem for re-encoding) # 0, 0 ItemDelimitationItem (fffe,e0dd) na (SequenceDelimitationItem for re-encod.) # 0, 0 SequenceDelimitationItem (0400,0562) DT [20230718150037.201401] # 22, 1 AttributeModificationDateTime (0400,0563) LO [ClearCanvas DICOM Server] # 24, 1 ModifyingSystem (0400,0564) LO [MEDISON] # 8, 1 SourceOfPreviousValues (0400,0565) CS [CORRECT] # 8, 1 ReasonForTheAttributeModification (fffe,e00d) na (ItemDelimitationItem for re-encoding) # 0, 0 ItemDelimitationItem (fffe,e0dd) na (SequenceDelimitationItem for re-encod.) # 0, 0 SequenceDelimitationItem (7fe0,0010) OB (PixelSequence #=2) # u/l, 1 PixelData (fffe,e000) pi 00\00\00\00 # 4, 1 Item (fffe,e000) pi ff\d8\ff\fe\00\b4\49\6e\74\65\6c\28\52\29\20\49\50\50\20\4a\50\45... # 1939018, 1 Item (fffe,e0dd) na (SequenceDelimitationItem) # 0, 0 SequenceDelimitationItem
Extraction
# Used TransferSyntax: JPEG Lossless, Non-hierarchical, 1st Order Prediction (0008,0005) CS [ISO_IR 100] # 10, 1 SpecificCharacterSet (0008,0008) CS [ORIGINAL\PRIMARY] # 16, 2 ImageType (0008,0016) UI =UltrasoundImageStorage # 28, 1 SOPClassUID (0008,0018) UI [1.2.826.0.1.3680043.2.1545.1.2.1.7.20231229.182711.644.28] # 58, 1 SOPInstanceUID (0008,0020) DA [20231229] # 8, 1 StudyDate (0008,0021) DA [20231229] # 8, 1 SeriesDate (0008,0022) DA [20231229] # 8, 1 AcquisitionDate (0008,0023) DA [20231229] # 8, 1 ContentDate (0008,002a) DT [20230718145944] # 14, 1 AcquisitionDateTime (0008,0030) TM [182711] # 6, 1 StudyTime (0008,0031) TM [182711] # 6, 1 SeriesTime (0008,0032) TM [182711] # 6, 1 AcquisitionTime (0008,0033) TM [182711] # 6, 1 ContentTime (0008,0050) SH [P102S126] # 8, 1 AccessionNumber (0008,0060) CS [US] # 2, 1 Modality (0008,0070) LO [SAMSUNG MEDISON CO., LTD.] # 26, 1 Manufacturer (0008,0080) LO [HINDAWI DIAGNOSTIC CENTRE] # 26, 1 InstitutionName (0008,0090) PN [DR. POOJA VISHANDASANI] # 22, 1 ReferringPhysicianName (0008,1010) SH [V7] # 2, 1 StationName (0008,1030) LO [Pregnancy/OBS Target] # 20, 1 StudyDescription (0008,103e) LO [SeriesDescription] # 18, 1 SeriesDescription (0008,1050) PN [DR. SHOAIB HUSSAIN] # 18, 1 PerformingPhysicianName (0008,1070) PN [USR] # 4, 1 OperatorsName (0008,1090) LO [V7] # 2, 1 ManufacturerModelName (0008,1111) SQ (Sequence with explicit length #=1) # 104, 1 ReferencedPerformedProcedureStepSequence (fffe,e000) na (Item with explicit length #=2) # 96, 1 Item (0008,1150) UI =ModalityPerformedProcedureStepSOPClass # 24, 1 ReferencedSOPClassUID (0008,1155) UI [1.2.410.200001.101.11.809.1108235107.4.20230718145944136] # 56, 1 ReferencedSOPInstanceUID (fffe,e00d) na (ItemDelimitationItem for re-encoding) # 0, 0 ItemDelimitationItem (fffe,e0dd) na (SequenceDelimitationItem for re-encod.) # 0, 0 SequenceDelimitationItem (0010,0010) PN [78666666] # 8, 1 PatientName (0010,0020) LO [102] # 4, 1 PatientID (0010,0030) DA [20231227] # 8, 1 PatientBirthDate (0010,0040) CS [M] # 2, 1 PatientSex (0018,1000) LO [S2FPM3HT700006] # 14, 1 DeviceSerialNumber (0018,1020) LO [1.00.00.3222] # 12, 1 SoftwareVersions (0018,1030) LO [Free Form] # 10, 1 ProtocolName (0018,6011) SQ (Sequence with explicit length #=1) # 140, 1 SequenceOfUltrasoundRegions (fffe,e000) na (Item with explicit length #=11) # 132, 1 Item (0018,6012) US 1 # 2, 1 RegionSpatialFormat (0018,6014) US 1 # 2, 1 RegionDataType (0018,6016) UL 3 # 4, 1 RegionFlags (0018,6018) UL 0 # 4, 1 RegionLocationMinX0 (0018,601a) UL 105 # 4, 1 RegionLocationMinY0 (0018,601c) UL 1599 # 4, 1 RegionLocationMaxX1 (0018,601e) UL 1007 # 4, 1 RegionLocationMaxY1 (0018,6024) US 3 # 2, 1 PhysicalUnitsXDirection (0018,6026) US 3 # 2, 1 PhysicalUnitsYDirection (0018,602c) FD 0.013795712001320708 # 8, 1 PhysicalDeltaX (0018,602e) FD 0.013795712001320708 # 8, 1 PhysicalDeltaY (fffe,e00d) na (ItemDelimitationItem for re-encoding) # 0, 0 ItemDelimitationItem (fffe,e0dd) na (SequenceDelimitationItem for re-encod.) # 0, 0 SequenceDelimitationItem (0020,000d) UI [1.2.826.0.1.3680043.8.498.37681716679709206119384351952742421204] # 64, 1 StudyInstanceUID (0020,000e) UI [1.2.826.0.1.3680043.2.1545.1.2.1.7.20231229.182711.109.27] # 58, 1 SeriesInstanceUID (0020,0010) SH [5176] # 4, 1 StudyID (0020,0011) IS [1] # 2, 1 SeriesNumber (0020,0013) IS [100100100] # 10, 1 InstanceNumber (0020,0020) CS (no value available) # 0, 0 PatientOrientation (0028,0002) US 3 # 2, 1 SamplesPerPixel (0028,0004) CS [RGB] # 4, 1 PhotometricInterpretation (0028,0006) US 0 # 2, 1 PlanarConfiguration (0028,0010) US 1023 # 2, 1 Rows (0028,0011) US 1600 # 2, 1 Columns (0028,0014) US 0 # 2, 1 UltrasoundColorDataPresent (0028,0030) DS [0.137957\0.137957] # 18, 2 PixelSpacing (0028,0100) US 8 # 2, 1 BitsAllocated (0028,0101) US 8 # 2, 1 BitsStored (0028,0102) US 7 # 2, 1 HighBit (0028,0103) US 0 # 2, 1 PixelRepresentation (0028,1050) DS [128] # 4, 1 WindowCenter (0028,1051) DS [256] # 4, 1 WindowWidth (0028,2110) CS [00] # 2, 1 LossyImageCompression (0040,0244) DA [20231229] # 8, 1 PerformedProcedureStepStartDate (0040,0245) TM [182711] # 6, 1 PerformedProcedureStepStartTime (0040,0253) SH [20230718145944] # 14, 1 PerformedProcedureStepID (0040,0254) LO [Pregnancy/OBS Target] # 20, 1 PerformedProcedureStepDescription (0040,0275) SQ (Sequence with explicit length #=1) # 32, 1 RequestAttributesSequence (fffe,e000) na (Item with explicit length #=3) # 24, 1 Item (0040,0007) LO (no value available) # 0, 0 ScheduledProcedureStepDescription (0040,0009) SH (no value available) # 0, 0 ScheduledProcedureStepID (0040,1001) SH (no value available) # 0, 0 RequestedProcedureID (fffe,e00d) na (ItemDelimitationItem for re-encoding) # 0, 0 ItemDelimitationItem (fffe,e0dd) na (SequenceDelimitationItem for re-encod.) # 0, 0 SequenceDelimitationItem (0400,0561) SQ (Sequence with explicit length #=1) # 160, 1 OriginalAttributesSequence (fffe,e000) na (Item with explicit length #=5) # 152, 1 Item (0400,0550) SQ (Sequence with explicit length #=1) # 46, 1 ModifiedAttributesSequence (fffe,e000) na (Item with explicit length #=1) # 38, 1 Item (0010,0010) PN [Mrs.Vineeta Kesharwani 25Y/F] # 30, 1 PatientName (fffe,e00d) na (ItemDelimitationItem for re-encoding) # 0, 0 ItemDelimitationItem (fffe,e0dd) na (SequenceDelimitationItem for re-encod.) # 0, 0 SequenceDelimitationItem (0400,0562) DT [20230718150037.201401] # 22, 1 AttributeModificationDateTime (0400,0563) LO [ClearCanvas DICOM Server] # 24, 1 ModifyingSystem (0400,0564) LO [MEDISON] # 8, 1 SourceOfPreviousValues (0400,0565) CS [CORRECT] # 8, 1 ReasonForTheAttributeModification (fffe,e00d) na (ItemDelimitationItem for re-encoding) # 0, 0 ItemDelimitationItem (fffe,e0dd) na (SequenceDelimitationItem for re-encod.) # 0, 0 SequenceDelimitationItem (7fe0,0010) OB (PixelSequence #=2) # u/l, 1 PixelData (fffe,e000) pi 00\00\00\00 # 4, 1 Item (fffe,e000) pi ff\d8\ff\fe\00\b4\49\6e\74\65\6c\28\52\29\20\49\50\50\20\4a\50\45... # 1939018, 1 Item (fffe,e0dd) na (SequenceDelimitationItem) # 0, 0 SequenceDelimitationItem