This is a discussion on clean up a string (123..9) within the Coding Help forums, part of the Webmaster Help category; I have a search string that will have at the end a special format included between ( brackets). eg. string ...
| |||||||
| Register | Forum Rules | FAQ | Donate | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| |||||
| I have a search string that will have at the end a special format included between ( brackets). eg. string here (123) I am looking for a way to clean the ( and ) plus the numbers included in the brackets. I think preg_replace() is best for this but I am lost at regular expressions. anybody has any ideas?
__________________ :. Web Design & Development Web Design Ireland :. Search Engines Optimization Search Engines Optimization :. Directory Submission Directory Submission :. News & Press Release Ireland GiveItSocks.com :. Used Cars Ireland, Car Parts & Car Audio Cars For Sale, Car Parts & Accessories :. I Have 2 Find It Directory SEF Directory |
| |||||
| found the solution: PHP Code: |