If only I had (past participle)

If only I had (past participle) is used to express regrets. It means "I wish I had (past participle)".