parsing of srcString by regular expressions