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

Popular posts from this blog

c# - passing input text from view to contoller with FacebookContext using Facebook app -

ios - Does Core Data autoupdate a many to many relationship on saving -

Calling a C++ function from C# by passing a string with variable size to it -