コミュニティ

populate an index field with email address found by regex and bypass indexing if email is found

 

Hi All

Trying to create a script in Recognition server that will find an email address on a page  and use that captured email address to populate an index field.

 

If the page has an email address then bypass teh indexing station.

 

I think the regex below will work in a Java script but am a newbie with all scripting and I have no skills in this area.

 

/^(([^<>()\[\]\\.,;:\s@"]+(\.[^<>()\[\]\\.,;:\s@"]+)*)|(".+"))@((\[[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}])|(([a-zA-Z\-0-9]+\.)+[a-zA-Z]{2,}))$/

 

Have created a index that finds the email address but cannot automatically insert that email address into the index field AND bypass the the index station.

 

Any ideas?

 

この記事は役に立ちましたか?

0人中0人がこの記事が役に立ったと言っています

コメント

1件のコメント

  • Avatar
    Helen

    Hi kevin.b,

    We cannot help you to write the script, for this please contact your regional office (and Professional services). But I can just help you to find out, what can be wrong here.

    I believe you have used the samples from the Help file ("Creating a Script for Document Identification and Indexing"), but could you please specify, what exactly doesn't work?

    - Is the document queued for manual Indexing station even if you write "SkipManualIndexing = true"?

    - or is the value empty? (if yes, have you tried to write not the value based on regular expression, but just any simple text?)

    0

サインインしてコメントを残してください。