Community

Find Static Text being different variants

I want to find Static Text like:
123123123
I want to do this with max error percentage:0
The document text may be like:
123-123-123
123123123
12-312-31-23
Is there any way to ignore sign "-"?
0

Comments

3 comments

  • Avatar
    Sushi
    Aegir,

    In this case why not use a character string and use regular expression i.e

    12"-"{0-1}3"-"{0-1}12"-"{0-1}3"-"{0-1}1"-"{0-1}23

    Basically buy using "-"{0-1} where every you expect a dash to appear, it can now be optional.
    0
  • Avatar
    Aegir
    Thanks for your reply,

    It's a good idea but I have a database of several thousands of such strings ( witchout "-"). I should only find expression from the dictionary.

    Best Regards,
    Aegir
    0
  • Avatar
    Sushi
    Aegir,

    Thats going to be tough because with a Static Text, you're looking for an exact word on the image. Normally, we can get away with some forgiveness of error by using the max percentage of error. In this case, you want it to be set at 0. I suspect this might be a difficult situation and will probably involve doing something at your DB level and not the FlexiLayout level. Maybe someone else has an idea.
    0

Please sign in to leave a comment.