How to extract multiple data from PDF

@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 :-

regexr.com/5alb4

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

HI @coder

See it is working :-

regexr.com/5alc5

Happy Automation :raised_hands:

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

1 Like

Thank you @Pratik_Wavhal allllot :tulip:

it is work now the problem was in multiline not selected.

@Pratik_Wavhal could you please give me some advance how i can lean that i mean the regex ?

@Pratik_Wavhal i am sorry i don’t found the Mack as solution but i try to find that and i will do :shamrock:

Thank you

Hi @coder

Already within above posts i have given you the megapost Link to learn the Regex also youtube is always der to learn anything :sweat_smile:

Happy Automation :raised_hands: :innocent: :hugs:

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

1 Like

Hey @Pratik_Wavhal

yes i see that , Thank you i will learn that more :heart_eyes: