The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#9
|
||||
|
||||
![]()
I've done outside tags, but i don't know using random tags, here my code:
Code:
$content = "<span style="color:black;">hello word</span>, this is my <span style="color:black;">code!</span>...and nice to meet everyone!"; $find = array('#>([^<>]+)<([^/]{1,1})#'); $replace = array( '><span style="color:red;">$1</span><$2', '><span style="color:blue;">$1</span><$2', '><span style="color:white;">$1</span><$2'); $content = preg_replace($find, $replace, $content); Quote:
![]() --------------- Added [DATE]1359091756[/DATE] at [TIME]1359091756[/TIME] --------------- i tried preg_replace to preg_replace_callback but don't work , please anyone help me! ![]() |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|