Support is online

Rule - Replace Spaces with hyphen or underscore #8025

Open brenton opened this topic Friday, 12 February 2016 · 3 replies
Author

Is it possible to create a rule that replaces spaces with "-" or "_" for a field? In my case it's the k2 alias field. The reason I can't do it within the CSV file is because in this instance I have to combine two fields together to make the alias in the first place.
Thanks in advance.

Support

Hello,
Yes, you can try doing this by giving a space (by clicking spacebar) in Find field and "-" or "_" in the replace field and method as regular text.

Kind regards,

Tharuna

=========================
If you use our extensions, please post a rating and a review at the Joomla! Extension Directory

Author

Hmmm... I did try that already, but didn't have any success after I updated to 6.5.2. Thought perhaps something had changed in the update. If that's the way it is meant to work, then I'll keep trying.

Support

Yes, it should work that way. If it doesn't for you, post here some screenshots of how you have setup the replacement rule and a sample of the text you are replacing. Make sure you have selected the replacement rule in the field you want to apply it to.

Kind regards,

RolandD

=========================
If you use our extensions, please post a rating and a review at the Joomla! Extension Directory

Log in to reply to this topic.