Micro Focus QTP (UFT) Forums
Please help me with Regular Expression - Printable Version

+- Micro Focus QTP (UFT) Forums (https://www.learnqtp.com/forums)
+-- Forum: Micro Focus UFT (earlier known as QTP) (https://www.learnqtp.com/forums/Forum-Micro-Focus-UFT-earlier-known-as-QTP)
+--- Forum: UFT / QTP Beginners (https://www.learnqtp.com/forums/Forum-UFT-QTP-Beginners)
+--- Thread: Please help me with Regular Expression (/Thread-Please-help-me-with-Regular-Expression)



Please help me with Regular Expression - nessa2018 - 09-18-2018

Hi, can anyone help me with regular expression ? I have attached image of the application I am trying to write script. Can't do the regular expressions of the different accounts, so QTP can't select those accounts. It is necessary for accounts Transfers. A lot of accounts Transfers are still pending as i am unable to write automated script.Please help me. 
Thanks.


RE: Please help me with Regular Expression - NishB - 09-23-2018

(09-18-2018, 02:44 AM)nessa2018 Wrote: Hi, can anyone help me with regular expression ? I have attached image of the application I am trying to write script. Can't do the regular expressions of the different accounts, so QTP can't select those accounts. It is necessary for accounts Transfers. A lot of accounts Transfers are still pending as i am unable to write automated script.Please help me. 
Thanks.

assuming 1819 is constant in every expression. use below pattern

\*\*\*1819\~[1-9]\$.*\.[0-9]{2}


RE: Please help me with Regular Expression - Ankur - 09-25-2018

Thanks @NishB for helping fellow forum members!