Need to finalize this regex to slugify text

Thanks for this!!
I added::
:trimmed
:lowercase
:extract with regex (^[\s\S]{0,250})

The (^[\s\S]{0,250}) gets the first 250 characters
Trimmed might not be needed but I thought what the heck.

Shout out to @seanhoots from his post I searched to get the regex he used for something else here REGEX: remove first 3 characters

1 Like