Quote Originally Posted by rohit verma View Post
Input ::
1212||sdfsdfsdf fgkdjfkgljlsdfg||sdfsdf
4454||"sadfsdfg
sdfgsdfg
sdf"||sdfgdfg
4454||ds gkdkjfhgskjfsdhkjg||sdfsdf


Output:::
1212||sdfsdfsdf fgkdjfkgljlsdfg||sdfsdf
4454||"sadfsdfg sdfgsdfg sdf"||sdfgdfg
4454||ds gkdkjfhgskjfsdhkjg||sdfsdf
It's still a guess at precisely what you are trying. But if you want to print out the rows that have numbers in the first column, you can do it with awk

Code:
awk -F '\|\|' '$1 ~ /[0-9]+/ {print $0}' < inputfile.txt