14
Jun
Posted by jason leroy » Add Comment »
Text Snippets with Regex
Just found this nice Regex snippet that helps you, getting the first 100 characters of a text, but won’t cut your text in the middle of a word.
^.{0,99}\S\b
Test it here: regexstorm.net
Many thanks to Coder’s Block for sharing this with us.
There's 0 Comment So Far
Share your thoughts, leave a comment!