Example of JavaScript split function with regex expression:
JavaScript split function with regex expression