I have been trying to figure out a Java RegEx for some while now that would split something like the following into two pieces:
l&<6:98>9"hello:world"-45:&<78:89>"hedhed:hdeh"+56
it should be split at the colon after “-45” ignoring all colons inside tags and quotes. Neither of the sides must not necessarily contain any tags or quotes.
Help would be greatly appreciated 🙂
It is easier to perform matching rather than splitting.