I'm completely new to RegEx and could really use some help with my dilemma. I have a large text file of IP addresses and corresponding hosts:
188.8.131.52 msnbot-157-55-33-47.search.msn.com 184.108.40.206 msnbot-157-56-93-62.search.msn.com etc...
I need a find and replace algorithm that appends to the beginning and end of each line and replaces the delimiter, which in this case is just a space.
e.g. the output after running the regex should be:
'text1' 220.127.116.11 'text2' msnbot-157-55-33-47.search.msn.com 'text3' 'text1' 18.104.22.168 'text2' msnbot-157-56-93-62.search.msn.com 'text3'