Anyone who can help me with this. If i have a string and want to take
out a sub string of that by regexp.
- string = “Today is it monday after work. blah blah.”
- string2 = “monday morning. Nice day today.”
And i would like to get a certain line with the word monday in it.
Like results below.
- result = “Today is it monday after work”
- result2 = “monday morning”