Skip to main content

I have a huge text file with something like that:

igflex01; igflexdev01; igdbstg01; igldapint01; igjetdev01; igsql01; igesxstg01; igdbint01; igdmstg01; igdsdev01; igdmmmo01; igmsgint02;

igflex01; igflexdev01; igdbstg01;
igldapint01; igjetdev01; igsql01;
igesxstg01; igdbint01; igdmstg01;
igdsdev01; igdmmmo01; igmsgint02;

and so on...

I would like to extract all text between semicolons when the string 'int' is present. Is there a way to do that?

thanks for your reply.

I have a huge text file with something like that:

igflex01; igflexdev01; igdbstg01; igldapint01; igjetdev01; igsql01; igesxstg01; igdbint01; igdmstg01; igdsdev01; igdmmmo01; igmsgint02;

and so on...

I would like to extract all text between semicolons when the string 'int' is present. Is there a way to do that?

thanks for your reply.

I have a huge text file with something like that:

igflex01; igflexdev01; igdbstg01;
igldapint01; igjetdev01; igsql01;
igesxstg01; igdbint01; igdmstg01;
igdsdev01; igdmmmo01; igmsgint02;

and so on...

I would like to extract all text between semicolons when the string 'int' is present. Is there a way to do that?

Source Link

sed / awk / grep find string between semicolons

I have a huge text file with something like that:

igflex01; igflexdev01; igdbstg01; igldapint01; igjetdev01; igsql01; igesxstg01; igdbint01; igdmstg01; igdsdev01; igdmmmo01; igmsgint02;

and so on...

I would like to extract all text between semicolons when the string 'int' is present. Is there a way to do that?

thanks for your reply.