I'm trying to make a simple regex replace in String Function that grabs 35 characters and adds cr\newline after. Using the standard number quantifier {n} doesn't work, and in fact it seems to ignore curly braces completely.
Using /(.{35})/ doesn't work:
This works, but it's a little unwieldy:
Using, for example, /(.{5})/, the output is just the same as using /(.5)/:
I'm trying to make a simple regex replace in String Function that grabs 35 characters and adds cr\newline after. Using the standard number quantifier
{n}
doesn't work, and in fact it seems to ignore curly braces completely.Using
/(.{35})/
doesn't work:This works, but it's a little unwieldy:
Using, for example,
/(.{5})/
, the output is just the same as using/(.5)/
: