hi to all
i am using Zone OCR and get some time following value and i want to remove space.
Example : Real value R10 but getting R 10 , R1 0, R 1 0
Thanks
Regards
Mazahir Naya
hi to all
i am using Zone OCR and get some time following value and i want to remove space.
Example : Real value R10 but getting R 10 , R1 0, R 1 0
Thanks
Regards
Mazahir Naya
You want to use the following regex [^ ]+
It says "Retrieve everything, but Spaces"
Hello Mason
i try with but no result . my Current pattern sample i am using
Zone OCR capture : DXB No. S 42 <some time S4 2>
Pattern Setting : \s*[DXB|DxB]?\s*No?\.?\s*([\s\w\d]*) <First match>
note : also i try with trim() function but no result.
Thank you.
Regards
Mazahir
Here is something I created real quick.
Let me know if it works.
D[xX]B.+(\w)[ ]?(\d)[ ]?(\d)[ ]?.+
Or you could do this.
hello Mason
Thanks for your kind reply .i change the zone OCR area to avoid capturing DXB No. & i started capturing from S42 01234 .
i use following pattern which remove space between Number and S42.
([a-zA-Z[\d]*)\s*\W*[a-zA-Z]*(\d{1,7})
so far result is good but i am facing one more challenge in document where my Zone OCR area there is some documents cross line come which some time convert as a 1 ,or 7 or 2 .i am attaching my Zone area Image for your kind reference .
Thank You.
Best Regards
Mazahir Naya
For the pattern, use \w and under the If Multiple Matches Exist drop-down, select All Matches (combined with no spaces).