All pastes #935367 Raw Edit

Mine

public text v1 · immutable
·published 2008-03-09 16:28 UTC
rendered paste body
preg_replace(

'
/      start of pattern definition

js     the literal string "js"
\/      a forward slash (quoted using \ as / is a reserved character being used to mark the beginning and end of the pattern)
editor   the literal string "editor"
\/         a forward slash 
filemanager   the literal string "filemanager"
\/            a forward slash 
connectors   the literal string "connectors"
\/          a forward slash 
php       the literal string "php"
\/         a forward slash 
connector    the literal string "connector"
\.          a forward slash 
php          the literal string "php"
(.*)        any number of any characters   . = any char,  * = 0 or more of them - the parantheses says "remember this part"
$          the end of the string

/          end of pattern definition
',