Matching a string as sub-string only using