How send push notification if user choosed some criteria (ex: word "some text" for future news titles)?

Have you some examples on that problem? thanks!