I tried to search files and zip them with the following commmand
find . regexpression -exec zip {} \\;
however it is not working. How can i do
Your response is close, but this might work better:
find -regex 'regex' -exec zip filname.zip {} +
That will put all the matching files in one zip file called filename.zip. You don't have to worry about special characters in the filename (like a line break), which you would if you piped the results.