master82 Posted March 1, 2007 Share Posted March 1, 2007 Is it possible to remove certain text from an input before it is stored in the database? I have a lot of people spamming my site with their own sites... i have already removed thr www. and com co.uk etc but it still doesnt stop people guessing. So is it possible to remove everything between www. and .com for example? ie replace www.sitehere.com with -removed- Link to comment https://forums.phpfreaks.com/topic/40763-removing-certain-text/ Share on other sites More sharing options...
magnetica Posted March 1, 2007 Share Posted March 1, 2007 Look up RegEx (Regular Expressions) Link to comment https://forums.phpfreaks.com/topic/40763-removing-certain-text/#findComment-197324 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.