String Replace Exp
Developer
3rd Party (Free)
450 downloads (last 90 days)

EE Version Support
- ExpressionEngine 2
Compatibility
If an item is crossed out, it might be untested, not applicable or incompatible. Contact the developer to be sure.
- Updater
- Multi Site Manager
- Stand Alone Entry Form
- Low Variables
- Content Elements
- Better Workflow
- Matrix
- Grid
- Webservice
- Publisher
Requirements
- jQuery for the Control Panel
Add-On Type(s)
Plugin
Tags
String Replace Exp is a tag based approach to PHP’s str_replace for ExpressionEngine 2
Sometimes you need to use PHP functions but don’t want to enable PHP in the template. This plugin allows you to use the PHP string replace function in an EE tag passing the pattern, replacement, and string as parameters.
With this plugin you can pass EE variables to the tag which will process them and return the string with the replaced text.
This example replaces spaces in a string with a dash
if the var is {title} use this in it’s place
{exp:strrexp pattern=” ” replace=”-” string=”{title}” }
Download String Replace Exp
EE Support | Downloads | Add-On Version | Release Date |
---|---|---|---|
Not Specified | Download | 1.0 | May 17, 2011 |
This entry was created May 27, 2011, 11:17 am.
This entry was last updated May 27, 2011, 4:20 am.
Disclaimer: Information about ExpressionEngine add-ons is provided as a service to you, the user, and every member of the ExpressionEngine community. devot:ee is not responsible if you hose, mangle, wreck, or otherwise destroy your EE website by installing an add-on that you found out about at this site, regardless of its rating, Favorites status, commercial or free status, or general popularity. Caveat EEmptor!
Returns: devot:ee has a 30-day return policy on all commercial add-ons sold through devot-ee.com. If you need to return an add-on, do not go to the developer or the developer's site, but rather visit our returns page at https://devot-ee.com/returns to initiate your return. If you have questions, email support@devot-ee.com.
1 Review:
Simon 05.24.12
Simple and handy. One correction, usage is {exp:strexp not {exp:strrexp.