Input is:
<p>1:4 And David said unto him, How went the matter? I pray thee, tell me.</p>
<p>And he answered, That the people are fled from the battle, and many of the people also are fallen and dead; and Saul and Jonathan his son are dead also.</p>
In this first line contains numbers (1:4) and in second line only strings.
I want to find only strings in <p>
tag and merge that content to previous <p>
tag in html file.
Means:
1:4 And David said unto him, How went the matter? I pray thee, tell me. And he answered, That the people are fled from the battle, and many of the people also are fallen and dead; and Saul and Jonathan his son are dead also.
Can I do like this:
Regex.IsMatch(html, @"^[a-zA-Z]+$");
How can I do that?