Kako se ubacuje pattern u text?