コミュニティ

Flexilayout character string element. Need Regexp for thousands separators 回答済み

The regular expression parser doesn't cope with library regexp for thousands separator UK amounts. This expression ([0-9] {1-3}","[0-9] {1-9}"."[0-9]{2}) does not pick up amounts without thousands separators and the fractions sample in the help file doesn't get the  amount after the decimal place. I've tried ORing the above expression with one for no thousands separators but the parser rejects it as invalid

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

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

コメント

2件のコメント

  • Avatar
    Permanently deleted user

    Hello,

    The better approach to capturing strings such as money amounts would be to use alphabets to select the strings of desired format, not the regular expressions (as regular expressions are too strict and fail when there are OCR faults). 

    In addition to setting up of allowed alphabet, you may also set up the prohibited alphabet (having 0 as characters percentage count). 

    The string format can also be regulated by "Character count" and "Word count" expressions.

    0
  • Avatar
    Martin Alabaster

    Thanks again

    0

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