1: 2: 3: 4:
Select ... Right(@post, len(Post) - CHARINDEX('&ipaddress', Post)-10) as ipaddress ... Group By Right(@post, len(Post) - CHARINDEX('&ipaddress', Post)-10)