Hi there,
I'm a beginner in JavaScript and I could really use some help with the following question.
So, let's say I have this string: "AB_CD.1.23.3-609.7.8.EF_HI.XBXB"
The numbers 1.23.3 and 609.7.8 are completely random with two dots separating them.
The string AB_CD is also random but has an underscore in the middle.
And then we have EF_HI.XBXB, another random string with both underscores and dots in between.
My goal is to split this string into two separate strings: AB_CD.1.23.3.EF_HI.XBXB (removing -609.7.8) and AB_CD.6.7.8.EF_HI.XBXB (removing 1.23.3-).
If anyone can assist me with this, I would greatly appreciate it!