Hi there i have a string that is scraped and is formatted like this:
Susy Smith's Profile
jffjfldjfldfldjfldjldlfd
Email
susy@email.com
Birthday
Jan 3, 2000
Each string that is going to be scraped is going to have a different name and so i think that it is better to remove that line based on the last word ‘Profile’ I used the following regex i tweaked from a previous question but it doesn’t work. Would appreciate your help. Thank you in advance!!
System.Text.RegularExpressions.Regex.Replace(testString,“$ Profile.*”," ",System.Text.RegularExpressions.RegexOptions.Multiline)