This is a simple and useful function to quickly remove a set of characters from a string. It’s easier than using multiple replace calls or complicated regex. It’s great for cleaning up phone numbers, addresses, etc. Both ASP and PHP scripts are available.
Archive for category News
A better accordion script
Aug 25
I’ve been trying to incorporate an vertical accordion menu into a new web site without much luck. Most of the prebuilt scripts use onclick. Those that do use mouse events only use onmouseover. There seems to be an issue with the div bubble when using onmouseout. The only thing left to do is write my own script! I’ve already created a semi working script and am currently tackling the onmousout issue. I’ve come up with several ideas and will be posing the script here as soon as it’s working.
New PHP script added
Aug 15
I’ve added a new script in the PHP section. This script is something I use all the time. It’s a simple, convenient function for grabbing web pages, or even posting data.
Hi.
Aug 8
Welcome to SRHScripts.com. Currently under construction, this site will house various scripts and utilities I have written over the years. Hopefully, you will find some or all useful. More to come!