I've a TXT file and I use a Reg Expr to get the text after a string "Diagnosis Statement:"
the Full text is :
Diagnosis Statement:
6/28/2011
RZZZCG77T77G355S
Report text is here ....... end of report
I would get only the 16 digits "RZZZCG77T77G355S" into the text (16 digits mix of numbers and capital letters)
I can get the text after the string "Diagnosis Statement:" with :
(?ms)^Diagnosis Statement\s*:(?<value>.*)
and I get the code with :
^[A-Z0-9]{16}?$
But cannot get the correct way to merge both and get only the 16 digits string from text after "Diagnosis Statement:"
Can you give some help ?