string text = @"FName Lname, your system password was changed. If you did not change it or do not know why it was changed, you should contact an administrator immediately.Your new password is Password10
If you have any questions, please contact:
Solutions Program Office Phone: Email: notifications@cho.com
Thank you for using xxxxx";
int indexOfPasswordText = text.IndexOf("Your new password is ");
if(indexOfPasswordText !=-1)
{
int passwordStart = indexOfPasswordText +"Your new password is ".Length;
int IndexeOfNextWord = text.IndexOfAny(new[]{'\n','\r',' '}, passwordStart);