Current date/time is April 27th 2024, 2:45 am

Search found 1 match for 8333ff

closing vbulletin tags in a string

how you want the final fix string? in this case we have 5 elements
Code:
[color=#8333ff]just testing [color=#0000ff]some[/color] stuff[/color]


1$ is '#8333ff'
2$ is 'just testing'
3$ is '#0000ff'
4$ is 'some'
5$ is 'stuff'

in replace
Code:
'[color=$1]$2[/color][color=$3]$4[/color]'


Where should element 5 go?

Code:
'[color=$1]$2[/color][color=$3]$4 $5[/color]'

by Ch@lo Valdez
on November 10th 2016, 4:00 pm
 
Search in: Garbage
Topic: closing vbulletin tags in a string
Replies: 13
Views: 1391

Back to top

Jump to: