Results 1 to 10 of 18
Threaded View
-
8th Aug 2010, 08:34 PM #1OPGoogle Corp.
Preg replace help
I need a php function including a preg replace line (or two) which will:
- delete all brackets, apostrophe's, special characters
- replace numbers with spaces
- delete all words less than 3 characters
- trim the spaces
Unfortunately I'm a noob in php, and an uber-noob with regex.
Is there anyone here who can help me out?SJshah Reviewed by SJshah on . Preg replace help I need a php function including a preg replace line (or two) which will: - delete all brackets, apostrophe's, special characters - replace numbers with spaces - delete all words less than 3 characters - trim the spaces Unfortunately I'm a noob in php, and an uber-noob with regex. Is there anyone here who can help me out? Rating: 5Life asked Death: "Why do people love me, but hate you?"
Death responded: "Because you're a beautiful lie and I'm the painful truth."
Sponsored Links
Thread Information
Users Browsing this Thread
There are currently 1 users browsing this thread. (0 members and 1 guests)
Similar Threads
-
Preg and Sql
By Chris2k in forum Web Development AreaReplies: 6Last Post: 28th Apr 2012, 02:19 PM -
Which is the best replace tools
By tcnnvnn in forum Webmaster DiscussionReplies: 5Last Post: 29th Sep 2011, 09:40 AM -
Preg Replace question
By Porsche_maniak in forum Web Development AreaReplies: 7Last Post: 7th Nov 2010, 08:58 AM -
how to replace word in vb4
By m107 in forum vBulletinReplies: 13Last Post: 4th Sep 2010, 09:20 AM -
how to replace bad words?
By wman in forum vBulletinReplies: 2Last Post: 19th Feb 2009, 12:18 PM
themaPoster - post to forums and...
Version 5.22 released. Open older version (or...