grep - Matching string with regex -
I keep my head against the wall in search of a reggae that matches any of these types of string :
- 7928ae02-A-- -7928ae02-B-- -7928ae02-F-- -7928ae02-H-- -7928ae02-Z-- < P> string two dashes, 8 letters of any letter or number, one dash, one uppercase AZ and two dashes Here I am:
grep '^ - [a-fA-F0- 9] {8} - [AZ] - $ '
This can work
grep - e - '^ - [[alnum:]] {8} - [[: Minister:]] - $ '
Comments
Post a Comment