Sign in to follow this  
Essaye

Parse a database??

Recommended Posts

Hello guys, i want to parse a database , because its mixed lines...

 

You see those lines mixed to others? : http://prntscr.com/npugyb

 

I want all those mixed lines, to be lines like that : http://prntscr.com/npufu7

 

 

I really appreciate if you find for me (you will get +3 rep because its very important data) . i already tryed to search on google but i find nothing..

Share this post


Link to post
Share on other sites

Hello guys, i want to parse a database , because its mixed lines...

 

like you see that : http://prntscr.com/npugyb

 

I want all those mixed lines, to be lines like that : http://prntscr.com/npufu7

 

A tricky one. The best way will be probably to construct a regex query to grab what you need.

 

This might help:

https://stackoverflow.com/questions/18144431/regex-to-split-a-csv

 

Alternatively you can just import it into excel, split the lines at the brackets and delete the lines you don't need.

Share this post


Link to post
Share on other sites

Hello guys, i want to parse a database , because its mixed lines...

 

like you see that : http://prntscr.com/npugyb

 

I want all those mixed lines, to be lines like that : http://prntscr.com/npufu7

 

A tricky one. The best way will be probably to construct a regex query to grab what you need.

 

This might help:

https://stackoverflow.com/questions/18144431/regex-to-split-a-csv

 

Alternatively you can just import it into excel, split the lines at the brackets and delete the lines you don't need.

Yes i tried with Excel but its very hard


And i dont know how to create a regex i never touch the programmation :c

Share this post


Link to post
Share on other sites

Yes i tried with Excel but its very hard


And i dont know how to create a regex i never touch the programmation :c

 

Well now is a good time to learn!

You can try this site which will help with creating regex: https://regexr.com/

 

Then you can follow the comments here which will let you regex a csv file using python: https://stackoverflow.com/questions/47016757/how-to-apply-regex-sub-to-a-csv-file-in-python

Share this post


Link to post
Share on other sites

Yes i tried with Excel but its very hard


And i dont know how to create a regex i never touch the programmation :c

 

Well now is a good time to learn!

You can try this site which will help with creating regex: https://regexr.com/

 

Then you can follow the comments here which will let you regex a csv file using python: https://stackoverflow.com/questions/47016757/how-to-apply-regex-sub-to-a-csv-file-in-python

 

i understand nothing :'( :pepe:

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Sign in to follow this