Ali
05/27/2021, 9:46 AMCD
05/27/2021, 9:52 AMREGEXP_
functions in the where
clause to look for things with more than >5 occurrences of whitespaceCD
05/27/2021, 10:03 AMvar resultset = query.runSuiteQL({ query: "select * from tasks where length(regexp_replace(name,'\S',''))>5" });
Ali
05/27/2021, 10:13 AMCD
05/27/2021, 10:21 AMscottvonduhn
05/27/2021, 5:22 PMREGEXP_LIKE({title}, '(\w+\s+){4,}\w+.*')
That would probably treat strings containing numbers as words, too, but you can modify if necessarymichoel
05/27/2021, 11:08 PMREGEXP_COUNT({memo}, '\s') + 1
for get the number of whitespace characters. Works well in a saved search