replace example pattern