I'm amazed about the breath of things you can throw at ChatGPT. I recently wrote a blog article on pcap filters and it was completely able to recreate my use case. Admittedly I wrote a filter with a single AND-operation tcp[13] 7 != 0.