Fix regex for _
Return nulls not the last string
Fix a case bug