Tag: RegEx
-
Extract the first N words from a string with C#
This code will return the first 5 words, change the number in the regular expression as needed:
This code will return the first 5 words, change the number in the regular expression as needed: