Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- (?<=to |^).*?(?= to|$)
- string[] names = Regex.Matches("Yuvraj Singh to Nasir Jamshed to Kumar to Shoaib Malik", "(?<=to |^).*?(?= to|$)")
- .Cast<Match>()
- .Select(m => m.Value)
- .ToArray();
- ([A-Z][w-]*s*)+
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement