I have text file with server URL lines like:
request get https://abc.net/search?q=hello/world/hello/word/search=5&size=10 request get https://abc.net/search?q=hello/world/hello/world/hello/word=5 In this text file, I want the text after the word "search?q=" string and store in another file output file:
hello/world/hello/word/search=5&size=10 hello/world/hello/word/hello/world=5 hello1world1/hello/world/hello/word
cut -d= -f2- <in >out