add solution in regular expressions