Article 4X4J6 [PHP] Why neither strpos nor preg_match find text with word NBK_DC_01?

[PHP] Why neither strpos nor preg_match find text with word NBK_DC_01?

by
cesarsj
from LinuxQuestions.org on (#4X4J6)
When I leave "NTP update" as shown below, the code works and returns me emails with this term.

if (strpos($inboxMessage['messageSubject'],"NTP update"))

But when I leave "NBK_DC_01", with the certainty that the email has this term, neither strpos nor preg_match give me results. Was it because of the ''_''?latest?d=yIl2AUoC8zA latest?i=_HgyFsXQZB8:fp8Q1uwKziY:F7zBnMy latest?i=_HgyFsXQZB8:fp8Q1uwKziY:V_sGLiP latest?d=qj6IDK7rITs latest?i=_HgyFsXQZB8:fp8Q1uwKziY:gIN9vFw_HgyFsXQZB8
External Content
Source RSS or Atom Feed
Feed Location https://feeds.feedburner.com/linuxquestions/latest
Feed Title LinuxQuestions.org
Feed Link https://www.linuxquestions.org/questions/
Reply 0 comments