DEV Community

Discussion on: How I can extract words from strings using regular expressions?

 
pprathameshmore profile image
Prathamesh More

This is working

(?:[()]|AND|OR|"[^"]*"\s*:*>*[<|>=|<=|!=|=]*\s*"[^"]*")
Enter fullscreen mode Exit fullscreen mode