How to improve / enhance this regex expression to highlight this 3 different lines

Viewed 23

I would like to highlight this 3 different lines in my document

A552646743MYS210824-3M2609223215303««««62 
E.163879383CHNO211026 m 3 20905511BP Ftlfvlfv1GLP' 
A 56 2 3004 40MYS5910070 F27111 2859100705 5264<<68 

I am currently using this regex expression

^[A-Z0-9<]{9}.*[A-Z].* 

am improve to this

[A-Z0-9]{1}(\s|[A-Z0-9.<]*){8}[A-Z0-9]{1}[A-Z]{3}[A-Z0-9]{6}[A-Z0-9]{1}.*

however this only limit to some of the string highlight

0 Answers
Related