Replace variable value from inputfie

I have file (which is output of different script.)

int hsi foram

inst2.sysadmin
inst2.sysusers
inst2.syslogins
inst2.sysauth

Like so many lines.

This output is input to another script.
I want to have only table name not schemaname.

how can I do it?

Thanks in advance.

For example, given the following:

inst2.sysauth

Is this what how you define your fields?
tablename= inst2
schemaname= sysauth

I don't need the schema name at all in second script.

deleted

Deleted