Select seperator: Dot (.) Space Comma is pieces Hyphen
Execute split method
Source String:
"The JavaScript split method is used to break a given string into pieces by a specified separator like a period (.), comma, space, hyphen (-) or a word."