poe Posted March 28, 2008 Share Posted March 28, 2008 i have: $strHtml = preg_replace("at ","pp",$strHtml); and i get this as an error Delimiter must not be alphanumeric or backslash Link to comment https://forums.phpfreaks.com/topic/98350-i-dont-know-what-i-am-missing/ Share on other sites More sharing options...
effigy Posted March 28, 2008 Share Posted March 28, 2008 Every PREG pattern follows the format of: delimiter pattern delimiter modifiers. "/" is commonly used:[tt] /at / Link to comment https://forums.phpfreaks.com/topic/98350-i-dont-know-what-i-am-missing/#findComment-503414 Share on other sites More sharing options...
discomatt Posted March 28, 2008 Share Posted March 28, 2008 Probably would help to use the case-insensitive modifier as well, guessing the context /at /i Link to comment https://forums.phpfreaks.com/topic/98350-i-dont-know-what-i-am-missing/#findComment-503453 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.