You Can Include Delimiters In The Result Of JavaScript's String .split() Method When Using Capturing Groups from ben java Watch Video
Preview(s):
Gallery
Play Video: (Note: The default playback of the video is HD VERSION. If your browser is buffering the video slowly, please play the REGULAR MP4 VERSION or Open The Video below for better experience. Thank you!)
Description: Ben Nadel explores JavaScript's String.prototype.split() method, which will return the delimiters in the result-set if the given Regular Expression pattern uses a capturing group. This provides some new and fun ways to parse strings.
Play Video: (Note: The default playback of the video is HD VERSION. If your browser is buffering the video slowly, please play the REGULAR MP4 VERSION or Open The Video below for better experience. Thank you!)