Helps to split line with the particular pattern.
- We have to first insert the line which we want to split (copy and paste).
- After that we have to put the pattern in the pattern field given.
- Press the split button to split the line into multiple lines based on the patterns present in the line.
- JAVA.