How to extract multiple data from PDF

@coder,
in this case no, because you won’t pass through text one row at the time, this will check string and return all values which match your regex combination.
This regex builder is excellent because you can paste text which is extracted from PDF and then play with regex combinations to get result which you need.

This is stupid example but you can test it out. :slight_smile:

1 Like

Thank you @dfilipovic , i will try that :slight_smile:

1 Like

If that helps, can you please mark it as a solution so I get some points. :slight_smile:

1 Like

Sure i will do :innocent:

@dfilipovic it is not show with me

HI @coder

Can you provide the input and exact output for the same then giving you exact regex will be easy and if also can you provide pdf itself then it will be best.

Also till that have a look to the below mega post by @Steven_McKeering :-

Happy Automation :raised_hands:

Best Regards
Er Pratik Wavhal :robot::man_technologist:t4: :computer:

2 Likes

Hi @Pratik_Wavhal

Sure ,

Laura Jefferson

890 Main St., Pythonville LA 29947

Maria Johnson
884 High St., Braavos ME 43597
Michael Arnold
249 Elm St., Quahog OR 90938

Mary Patterson / 988-555-6112 / 956 Park St., Valyria CT 81541 / marypatterson@bogusemail.com
Jane Stuart / 623-555-3006 / 983 Oak St., Old-town RI 15445 / janestuart@bogusemail.com

I try to do for the name and address

Hi @coder

May i know the output from this ??

Means what is the name and address here in your text that you want to extract ??

And also May i know is der anything constant everytime always ??

Happy Automation :raised_hands:

Best Regards
Er Pratik Wavhal :robot::man_technologist:t4: :computer:

Hi @Pratik_Wavhal

There are many manes and address so i want execrate all it is same format for the example i write

it is clear ?

Hi @coder

Have a look to the below SS and let me know these are the names you are trying to extract or not :-

image

And also may i know the address means EmailId are you trying to extract or area address are you saying ??

Happy Automation :raised_hands:

Best Regards
Er Pratik Wavhal :robot::man_technologist:t4: :computer:

1 Like

Hey @Pratik_Wavhal

yes Thank you that what i try to do , and the address no i mean the address this

890 Main St., Pythonville LA 29947

884 High St., Braavos ME 43597

Hi @coder

So above i provided you the Regex for Names.

Now below is the regex for Address :-

image

Happy Automation :raised_hands:

Best Regards
Er Pratik Wavhal :robot::man_technologist:t4: :computer:

2 Likes

Hi @coder

Combine Regex for both is as below :-

image

Mark as solution and like it if this helps you :slight_smile:

Happy Automation :raised_hands:

Best Regards
Er Pratik Wavhal :robot::man_technologist:t4: :computer:

1 Like

Thank you so much @Pratik_Wavhal

yes it is help me ,

I cant see the sign of Mack as solution what is the problem ?

Hi @coder

When you mark as a solution it will look like as shown below to me :-

image

Actually the thing is i haven’t created any query/issue post till now so never marked as solution to anyone’s post yet :sweat_smile:

It might der at the end image

Or somewhere to my post here may be the option can be available i showed below :-

Happy Automation :raised_hands:

Best Regards
Er Pratik Wavhal :robot::man_technologist:t4: :computer:

I will see that ,

@Pratik_Wavhal it is not work when i put that in UiPath also in this site

https://regexr.com/

could you please check that ?

Thanks

Hi @coder

See below SS it is working :-

And how to implement this regex in UiPath so for that you can refer the post i have provided already :-

And the activity used for the same is Matches Activity :-

Happy Automation :raised_hands:

Best Regards
Er Pratik Wavhal :robot::man_technologist:t4: :computer:

2 Likes

yes this work ,

could you please check the name and address as separate it is not work

https://regexr.com/

Hi @coder

Before sharing the Regex website link press Ctrl+S. That saves your regex and provides you the unique link same as what i am sharing wid you above.

It will work always.

Happy Automation :raised_hands:

Best Regards
Er Pratik Wavhal :robot::man_technologist:t4: :computer:

1 Like

Hi @Pratik_Wavhal The address work wit me but still name not work i do not what

https://regexr.com/5alc5