Test string is: 'Now is the time'

'Now' was found.

'Now' found at beginning of the line.

'Now' was not found at the end of the line.

Word found ending in 'ow': Now

Words beginning with 't' found: the time