Solve RegularExpression