The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
||||
|
||||
ereg_replace question
I'm in need of some quick ereg_replace help. I'm trying to strip specific characters from a string, namely an asterisk and the whitespace immediately following/preceding it.
Typical string: * Forum * I want: Forum This is what I've got thus far: Code:
$forum[title_clean] = ereg_replace("[^A-Za-z0-9]", "", $forum[title_clean]); |
Thread Tools | |
Display Modes | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|