Oct-12-2023, 08:54 AM
Hi Everyone,
.Myc PGGGGG_UIII_Q9999_AB A0 B11 B22 D1 D2 D3
+ 4I 3B
I am trying to match the above two line using regex.
\.(myc|Myc)\s+([a-zA-Z0-9\_\-]+)\s+(.*)\n(.*) = Used this regex
It will print --> .Myc PGGGGG_UIII_Q9999_AB A0 B11 B22 D1 D2 D3
It is not going to newline(\n is NOT WORKING HERE). Please let me know how to go to newline in python regex.
Suggestions are appreciated.
Thank you!
.Myc PGGGGG_UIII_Q9999_AB A0 B11 B22 D1 D2 D3
+ 4I 3B
I am trying to match the above two line using regex.
\.(myc|Myc)\s+([a-zA-Z0-9\_\-]+)\s+(.*)\n(.*) = Used this regex
It will print --> .Myc PGGGGG_UIII_Q9999_AB A0 B11 B22 D1 D2 D3
It is not going to newline(\n is NOT WORKING HERE). Please let me know how to go to newline in python regex.
Suggestions are appreciated.
Thank you!