I’ve just tested ChatGPT to create a regex expression and it worked!
I asked ChatGPT: Whats the regex to match a string without the string hello?
And the answer was:
^(?!.*hello).*$
with a helpful explanation:
Always take the answers from ChatGPT with a grain of salt, because they can be plain wrong, but I believe this tool can be a real helper to create regular expressions or AutoHotkey macros.
Generated Image Alt-Text
[edited by: Trados AI at 10:12 AM (GMT 0) on 4 Mar 2024]
![5 stars click here to know more emoji](https://community.rws.com/cfs-filesystemfile/__key/widgetfiles/5c4647e932a14e22b262d374e00bf337-d/5star.png?_=638586179635030146)