How can I get the coding region from gene sequences?
Not all the exonic sequence is coding. The ends have 3' and 5' UTRs.

Can you find gtfs for your organism?  Those would be easier to work with.

Or, I'd do blastx against the protein, that should pull out just the sequence that codes for protein.