Possible Duplicate:
How would you count occurences of a string within a string (C#)?
I have a string that has multiple sub-strings and Enter (special character by pressing Enter key) between them.
Can you please guide me how to write a regular expression that counts Enter keys between words ?
Thanks