Hi, is there any way to extract only numbers from a string without using any extension? Also the string is dynamic so parse component of device utilities won’t work!
Or in simple term you can try js evaluation using webviewer
Call webviewer evaluate JS(join(“)(textbox text)(”.replace(/[^0-9]/g, ‘’));
When webviewer after evaluate
Set label text to get value
Eg.
“838383jsjsjsj282”.replace(/[^0-9]/g, ‘’));
It will return as
838383282
Also for your query it is better to use replace block alone.
If the text contains text INR
Then replace the INR with empty string
Else …
So simple
Thanks! <3
This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.