how to limit text in a repeating group to 5 words for example?
Do you really need to limit it to 5 words? âŚor will so many characters work?
Limiting it to word count is more complicated, thatâs why I asked.
I have long listing names and I need to shorten this name to 5 words
Ok, I use this methodâŚalthough what I use isnât limited to 5 wordsâŚI changed the number of words to show you how to set it up.
You obviously need to reference what text youâre talking aboutâŚ
for me it is parent groupâs blog question in this case.
Then add :split by ( in the text seperator, just add a space)
Then :items until # 5
Then :join with (then click the more and just add a space)
there are also symbols, for example â-â and I donât want the name to be limited to this symbol, but to end with the word
Not sure about that. That sounds like maybe you will need to use regex to get more involved with the exact count you want.
The method I gave will give you 5 words.
If what I gave doesnât work, when I get time later today after work Iâll give you a regex formula, but itâs a lot more complicated.
You can also add a ⌠if you need to by setting a condition.
In the meantime, maybe someone else can give you a formula.
Hope you get your idea to work. Good luck.
Added: I modified my original answer from the one you quoted. Not sure how the 1. List item got in there ![]()
Ok, itâs early here and my mind wasnât clear yet and I wasnât thinking straight.
But, for the symbols you would use :find and replace.
So, after the âparent groupâs blog questionâ (in my example)âŚ
you would add :find and replace. You would find every symbol you wanted to skipâŚand then add a space in the replace by to replace it.
Then continue with the formula.
Added: One last thing, for each symbol you want to replace, you need a seperate âfind and replaceâ. So, you may need to chain 2 or 3 together. Just wanted to clarify that. Have a good rest of your day.
Regex is your friend use it
Thank you. Youâre 100% correct. Getting up at 3:00 a.m. makes me not think right sometimes ![]()
Anyway, hereâs the expression using regex:
Thank you ![]()
Glad you got it working. Sometimes is takes a few trys ![]()
This topic was automatically closed after 70 days. New replies are no longer allowed.



