Jump to content

Recommended Posts

I'm looking for the ability to extract all words in a word document that are wrapped in "<< >>", such as Hello <<Name>>, Please respond by <<Date>>....

I would like this to return:

<<Name>>

<<Date>>

I know the pattern match function in scribe should do this, but I can't figure out what to put in the Regex part. Is there a reference that explains this?

Link to post
Share on other sites

We would be happy to help you with this but it would be outside the scope of free support. If you are interested in that please let me know and I will have our project coordinator reach out to you to discuss further.

Link to post
Share on other sites

I have never used the Scribe plugin. The following is a (hopefully educated) guess.

Judging from the help page, the expression:

ScribePatternMatchAll ( YourText ; "<<.+?>>")

should return the result you seek.

 

On 2/2/2021 at 11:38 PM, jkluchnik said:

Is there a reference that explains this?

You will find a good explanation here:
https://www.regular-expressions.info/repeat.html

 

Edited by comment
Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.