Making a Plugin Help
ZiNgA BuRgA Offline
Fag
*******
Posts: 3,357
Joined: Jan 2008
Post: #2
RE: Making a Plugin Help
The function basically calls preg_replace on the various templates.  As such, the data you pass to it must be a valid PCRE regular expression.
See http://php.net/manual/en/function.preg-replace.php for more details.

If you can't be bothered learning regular expressions and don't need them, you can just use:

PHP Code:
'#'.preg_quote("put your text here", '#').'#'

as the find string.


My Blog
03-31-2011 09:39 AM
Find all posts by this user Quote this message in a reply

« Next Oldest | Next Newest »

Messages In This Thread
Making a Plugin Help - Crackz0r - 03-31-2011, 04:40 AM
RE: Making a Plugin Help - ZiNgA BuRgA - 03-31-2011 09:39 AM
RE: Making a Plugin Help - Crackz0r - 04-04-2011, 10:29 PM

 Standard Tools
Forum Jump: