christopherreding.com
An epic love story about a boy and his code. Featuring PHP, Javascript, HTML, Wordpress, and ExpressionEngine.
 Facebook Flickr LinkedIn Twitter
  • Home
  • About
  • Resume
  • Contact

Expression Engine Plugin: String Replace

May 17, 2011

Str_rexp is a tag based approach to php’s str_replace for expressionengine, it functions like this:

{title}: “Foo goes to the movies” becomes “Bar goes to the movies”.

{exp:channel:entries }
{exp:str_rexp needle=”Foo” replace=”Bar” haystack=”{title}” }
{/exp:channel:entries}

Install: unzip in your expressionengine third_party folder.

Download: str_rexp.zip

Let me know if you find this useful.

  • StumbleUpon
« First...«2345»102030...Last »
  • StumbleUpon

Recent Posts

  • ExpressionEngine Plugin CallPhp – Call PHP Functions Without Allowing PHP June 30, 2011
  • Video Demo of an App I wrote today for local hosting on OSX June 4, 2011
  • Expression Engine Plugin: String Replace May 17, 2011
  • Custom Post Types and Taxonomies in WordPress April 19, 2011
  • More Awesome More Taxonomies April 15, 2011

Popular Posts

  • ishowpro ex (expanded to allow all galleries) March 15, 2010
  • Thank You Wordcamp Birmingham September 28, 2009
  • BBVA Compass Matching Donations For Haiti Disaster Relief January 14, 2010
  • Social ‘media’ It’s not about YOU April 19, 2010
  • ExpressionEngine Plugin CallPhp – Call PHP Functions Without Allowing PHP June 30, 2011

Related Posts

  • Recover the ability to add fields to a publish layout in ExpressionEngine March 14, 2011
  • Make CKEditor field respect your EE tags January 3, 2011
  • The Case For Expression Engine July 27, 2010
  • SlideShowPro And Expression Engine… February 17, 2010

Ask a question.

Your message was successfully sent. Thank You!

Copyright © 2011 christopherreding.com. All Rights Reserved