tag:blogger.com,1999:blog-8712770457197348465.post8782206102799692404..comments2024-03-28T02:47:19.159-07:00Comments on Javarevisited: 2 ways to Split String with Dot (.) in Java using Regular Expression? Examplesjavin paulhttp://www.blogger.com/profile/15028902221295732276noreply@blogger.comBlogger3125tag:blogger.com,1999:blog-8712770457197348465.post-70899226341329903242024-03-04T20:48:26.438-08:002024-03-04T20:48:26.438-08:00Hello Anonymous, there is no special logic to hand...Hello Anonymous, there is no special logic to handle dot (.) in file name, so it will split into multiple parts, also (Dot) is I think the invalid character in filename. javin paulhttps://www.blogger.com/profile/15028902221295732276noreply@blogger.comtag:blogger.com,1999:blog-8712770457197348465.post-1275955011874304442024-03-04T08:33:54.875-08:002024-03-04T08:33:54.875-08:00Does this still work if the file name itself has a...Does this still work if the file name itself has a dot? Eg: filename.test.txtAnonymousnoreply@blogger.comtag:blogger.com,1999:blog-8712770457197348465.post-47377023021462474952024-03-01T18:33:21.599-08:002024-03-01T18:33:21.599-08:00I was always afraid of using regular expression bu...I was always afraid of using regular expression but the way you explained it, I simply loveAnonymousnoreply@blogger.com