Hi, I have the following RegEx pattern which splits a text into words.
The pattern recognizes spaces before and after a word. It works well and returns exactly the results I want to get.
Since I might want to split very long texts, I wonder if using this RegEx pattern is the best option, or if another algorithm would be better. For a text consisting of 50000 words the RegEx pattern needs 37,119 ms according to @Kem T RegExRX-App . Do you have an idea/approach for another algorithm and, what could such an algorithm look like?
Thank you very much for your feedback.