It depends on exactly what you expect in the string: the stuff that determines validity / invalidity.
And a vague "the most important things are the . and _" isn't very specific, given the single example contains four '.' characters and a single '_'
But, assuming order and only the first '.' is important:
^\w+?\.\w+_[\w\.\*]+$
Get a copy of
Expresso[
^] - it's free, and it examines and generates Regular expressions.