Coder Social home page Coder Social logo

SearchOptions Wildcards about office-js HOT 14 CLOSED

officedev avatar officedev commented on August 10, 2024
SearchOptions Wildcards

from office-js.

Comments (14)

nunocv avatar nunocv commented on August 10, 2024

Is there any news regarding this?

from office-js.

JuaneloJuanelo avatar JuaneloJuanelo commented on August 10, 2024

Can you explain in more detail what are you trying to search? if you want to find the '@' symbol you can do so without using the wildcard marker. If you can send a few samples of what you are trying to find will be helpful. Note that at the end of the referred article we describe how to deal with escaping special characters.

from office-js.

nunocv avatar nunocv commented on August 10, 2024

I want to find this [@!$#][{]*[}][\t]
Is this wildcard wrong?

from office-js.

JuaneloJuanelo avatar JuaneloJuanelo commented on August 10, 2024

thanks! what is the original string you are expecting to be found?

from office-js.

nunocv avatar nunocv commented on August 10, 2024

This per example:

"@{title=${Key}|href=${BaseURL}/browse/${Key}}\r\t${qrcode(‘Hello World’)}\r\t!{URL}\r\t"
Resulting in 3 strings
@{title=${Key}|href=${BaseURL}/browse/${Key}}\r\t
${qrcode(‘Hello World’)}\r\t
!{URL}\r\t

from office-js.

JuaneloJuanelo avatar JuaneloJuanelo commented on August 10, 2024

the \r \t are literal or are actual line breaks/tabs in the document?
can you attach a sample doc?

from office-js.

JuaneloJuanelo avatar JuaneloJuanelo commented on August 10, 2024

also please add what platform are you using and Build number. thanks!

from office-js.

nunocv avatar nunocv commented on August 10, 2024

Here you go!
TestDoc.docx

from office-js.

nunocv avatar nunocv commented on August 10, 2024

The most recent Word 365, can't say the build number because I swapped it for 2016 pro to test other stuff.

from office-js.

nunocv avatar nunocv commented on August 10, 2024

Any updates?

from office-js.

fergiemcdowall avatar fergiemcdowall commented on August 10, 2024

It would also be good to know to what extent regular expressions are supported in SearchOptions.

from office-js.

kbrandl avatar kbrandl commented on August 10, 2024

Transferring this issue from OfficeDev/office-js-docs into OfficeDev/office-js.

from office-js.

JuaneloJuanelo avatar JuaneloJuanelo commented on August 10, 2024

@fergiemcdowall I would not say that regular expressions are supported in searchOptions. We have a simple wilcard search as of now.

from office-js.

JuaneloJuanelo avatar JuaneloJuanelo commented on August 10, 2024

Regular expression search is currently not supported in the API. please add a request in our uservoice channel. https://officespdev.uservoice.com/

from office-js.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.