You are viewing limited content. For full access, please sign in.

Question

Question

Quick Fields - matching a pattern and excluding that from the token

asked on April 24, 2013 Show version history

I'm setting up a session for them using Zone OCR and pattern matching and I need for Pattern matching to look for a specific phrase 'Vendor No.' and then match the number after that but NOT include 'Vendor No.' in the token.  How do I match patterns and then exclude them from the token?

0 0

Answer

APPROVED ANSWER
replied on May 29, 2013 Show version history

Pattern Matching makes it easy to match an entire string of characters and only return certain parts of that string.  The way you can do this is with parenthesis. Using your example, a pattern like 'Vendor No. (\d+)' would grab only the digits that follow the specific string 'Vendor No.'

 

1 0

Replies

You are not allowed to reply in this post.
You are not allowed to follow up in this post.

Sign in to reply to this post.