Support Regex (regular expressions) via Search javascript API
context.document.body.search and range.search do not accept regular expressions (regex) as search patterns. The current wildcard language that is supported is far less capable. We have documents with lots of patterns that we look for via regular expressions and currently that is not possible with the javascript API. Please consider adding support for that.

Ron, thanks for your feedback! We’re currently reviewing this suggestion. We’ll get back to you when we have any updates.
Thanks!
Office Extensibility Team
1 comment
-
Tino Didriksen commented
Any progress on regex search support? It would be nice to simplify some of my code (and Google Docs supports it).