Replace preg_match() with strpos() for simple string search

Request #12603

Signed-off-by: Michael M Slusarz <slusarz@horde.org>
[mms] Use strpos() instead of preg_match() for simple string searches (Request #12603; Thomas Jarosch <thomas.jarosch@intra2net.com>).