I am trying to split strings similar to this using Regex.Split
:
To return this:
- https://www.linkedin.com
- in
- someone
Effectively, ignoring double forward slash and only worrying about a single forward slash.
I know I should be using something like this /(?!/)
negative look ahead - but can't get it to work.
This is not a duplicate of this Similar Question, because if you run that regular expression through Regex.Split, it does not give the required result.