The Replacer beta - joomla regular expression replacement tool

Hot on the heels of jHide I have finished and am ready to release “The Replacer” beta.

The replacer is a made up of a component and a mambot/plugin. Via the administrator you enter in regular expressions and code for a function to run on the matches.

This component is a DEVELOPERS TOOL, not for the faint hearted. You need to have a good understanding of regular expressions and php if you wish to enter your own. Otherwise you can break your site with dodgy regular expressions and non-functioning code.

 

The component comes with two regular expression already entered… ones for hiding anythin inside the {reg}{/reg} and {noreg}{/noreg} to emulate the jHide mambot functionality. I will add others to the install as I come up with them.

Installation instructions
Download the component here
Download the mambot here
Install both the mambot and component
Publish the mambot
Navigate to components->replacer and publish the regular expressions you want to work.

Creating your own replacer regex
Navigate to components->replacer
Click New
Enter a name and a description for your entry
Enter the regular expression
Enter the code for the dynamic php function to be called and run on any matches.

NOTE: I would recommend any new regular expression be developed on a test server before you publish them on a live environment. Because you are entering php code that will be run in the event of a match you run the risk of a php error.

Comments
Add New
Powered by !JoomlaComment 3.26

3.26 Copyright (C) 2008 Compojoom.com / Copyright (C) 2007 Alain Georgette / Copyright (C) 2006 Frantisek Hliva. All rights reserved."

 

Help my beer fund

RocketTheme Joomla Templates