KAPOW

Would you like to react to this message? Create an account in a few clicks or log in to continue.
KAPOW

Welcome to the Kapow forum. Here you can get help, use your skills to help others and enjoy hanging out in the company of other Kapow Robot Developers.


2 posters

    Pattern for extracting emails

    avatar
    kamaelxiii


    Posts : 6
    Points : 1770
    Join date : 2019-07-11

    Pattern for extracting emails Empty Pattern for extracting emails

    Post by kamaelxiii Tue Oct 01, 2019 4:26 pm

    Hi,
    I need help in determining a pattern for email extraction.
    This is the pattern that i've come up with:


    .*([\._a-zA-Z0-9-]+\@[\._a-zA-Z0-9-]+).*



    but it's only getting part of the email:
    if the email is testa@gmail.com it will only return a@gmail.com
    avatar
    kamaelxiii


    Posts : 6
    Points : 1770
    Join date : 2019-07-11

    Pattern for extracting emails Empty Re: Pattern for extracting emails

    Post by kamaelxiii Thu Oct 03, 2019 6:22 pm

    Anyone who can help? Is this a bug in Design Studio?
    avatar
    Andy22289


    Posts : 4
    Points : 2008
    Join date : 2018-11-09

    Pattern for extracting emails Empty Re: Pattern for extracting emails

    Post by Andy22289 Thu Oct 03, 2019 10:37 pm

    I believe it will work if you a change to this:
    .*?([\._a-zA-Z0-9-]+\@[\._a-zA-Z0-9-]+).*
    (add a ? after .* at the start of your pattern)



    The .*? combination is for Any Text (as Short as Possible) as shown below in theKofax RPA Symbol dropdown menu for patterns.


    Pattern for extracting emails Captur10

    Sponsored content


    Pattern for extracting emails Empty Re: Pattern for extracting emails

    Post by Sponsored content


      Current date/time is Mon Apr 29, 2024 12:08 am