Why \d+ doesn't work:
You're using a look-ahead match, which implicitly means the actual match group is the "space" between characters, i.e. match.start() = match.end(). Since you're matching at...
Type: Posts; User: helloworld922
Why \d+ doesn't work:
You're using a look-ahead match, which implicitly means the actual match group is the "space" between characters, i.e. match.start() = match.end(). Since you're matching at...
StackOverflow: How to split a string but also keep the delimiters
The accepted answer may be what you're looking for, applied here you just use + instead of ; as the "delimiter".
...