![]() |
Quote:
And my book only talks about the other ones (those that work with ereg_replace :() |
Shame, I notice a lot of them leave out PCRE.
http://www.tote-taste.de/X-Project/regex/ Hopefully you'll find that link of use. ;) |
Quote:
It looks nice-written :) |
Well by answer was the best for the original question, only to remove the spaces. If you have the choice, a str_replace is much faster. Dean however extended to original question nicely with the removal of some more special characters (although with some limitations that could also be done with str_trplace..
|
Quote:
|
BEcause with a str_replace you can only search for a list of chracters. With regular expressions, you can also deny any character that is not in a list.
|
Quote:
Dean C, I noticed you are the only one in this thread with a space between first and last name, such as my user name. So do I have to log out as David Copeland to use this forum's chat?? Or can the webmaster here modify the code to allow anyone with a space to use the live chat? David |
No, once you go into the chat and get the error just type:
Quote:
|
Mine also isn't allowed because of the space - I use ChrisM with no space :)
Chris |
PHP Code:
|
All times are GMT. The time now is 04:43 PM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|