In a regular polygon with \( n \) sides, the number of diagonals is given by the formula \( \frac{n(n-3)}{2} \). If a regular polygon has a number of diagonals equal to 44, how many sides does the polygon have? Let's think step by step and output the final answer within \boxed{}.
user