PHP doesnt care about human language. it is replacing the letter pattern as they are found.

triumph = triumph

it doesnt care what surrounds the character combinations that form human language.

Originally Posted by Morgan
triumph = match this becomes a active link
https://triumph.com = no match
triumph222 = no match
/triumph.jpg = no match
^^^ THIS IS INCORRECT

in each 4 of the lines you used in your example, they all include a match of the character pattern which php is being instructed to match.

please reread my first reply to you. censor vs active-text. it includes a definition of what each function does and when it is applied. also reread the reply given to you by gizmo. your search string should be more specific. you are currently attempting to match a broad pattern of letters using a tool that works as designed. the tool is called "active text" not "active words"

https://www.php.net/manual/en/function.preg-match.php


current developer of UBB.threads php forum software
current release: UBB.threads 8.0.1 // wip: UBB.threads 8.1.0
isaac @ id242.com // my forum @ CelicaHobby.com