Regexp checking with test for Item is added
Added comments for regexp