Question

1
Replies
122
Views
Adithya_Acharya Member since 2012 52 posts
Virtusa
Posted: 10 months ago
Last activity: 9 months 4 weeks ago

RUTA Script - Policy Number

Hi ,

Could you please help me with RUTA script to extract policy number from below sentence .

example :

1. XXXXX is my policy number

2. My Policy Number is XXXXXX

3. XXXXX is My new Policy

4. Policy : XXXXX

Script needs to check for word "policy" and needs to extract numberic which comes before or after the word .

I have one script which can extract numerics after the key word , but i also need to extract before the key word also (like XXXXX is my policy number )

example :

W{REGEXP("(?i)(policy)")}
ANY[0,1]?
NUM{REGEXP(".....") -> MARK(EntityType,3)};

Low-Code App Development Decision Management
Share this page LinkedIn