AppleScript find and replace
AppleScript question
MacBook Pro 13in mid2012 2.9GHz i7 16GB macOS High Sierra 10.13.6
This is not a homework/school project
First off I am a rank novice at coding ANYTHING and I don't know where to start
I am trying to convert some PDF/Pages documents (recipes) into a .csv file (to upload to a "database" Online database "airtable.com" to do meal planning for the week and to create a shopping list for the week.
As best I can figure out in order to get the information separated properly so that it can be compiled into the weekly shopping list, I have to have the amount, unit, ingredient and any notes separated by a comma. (ex: 1 pound beef diced (how it is in the document) needs to become 1, pound, beef, diced). With what I have dug through from professor google there is a way to start coding a comma to be inserted with applescript. But what I am finding is it is getting pretty complex because some times there wont be a unit in the recipe ie 1 lime or there will be time when fractions will be used it 1 1/2 cup.
I may be totally over think this but I can not find any good easy answer to automate this process anywhere. Any help or advice you all could offer would be amazing thanks.
JJ
MacBook Pro, macOS High Sierra (10.13.6), mid 2012