There is a use case where I need to fetch GST number from any document. It may start like this:
or there can be any other text after the GST new line.
Please help to find regular expression for this.
GST number has standard format.You can try like this to fetch it.
GS TIN : \w.+ try this once @Anamika15
Thanks for the response
Is there a way to obtain only the GST IN number?
currently I am getting GS TIN : 07AAKCS5183MIZP, but I need 07AAKCS5183MIZP only.
once you got the number GS TIN : 07AAKCS5183MIZP like then use split operation with : then take the value at 1 index.
Use Replace matchod (“GS TIN:”, " ");
Use Regex expression as (?<=GS TIN :).* in matches activity and try
If the document format is fixed or standard document go with Anchor base inside that use
“Find Element” activity and then find value by using “Get Value” or “Get text”.
(?<=GS TIN : )\w+
Use this regex it select after GS TIN number
This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.