Need to find the words/strings from the file, First 4 character of the line should be "ORA-" and the next 5 character should be numeric.
File Name: 1.txt
This is test ORA-12345
ORA-01234test
OORA-06550:
ORA-01A34
O/P:
ORA-01234test
Command:
egrep "ORA-[0-9]" 1.txt
Can not check first 4 should br ORA- and next 5 should be numeric