Ive got a string that are words bunched together and I need to seperate them, and every word that ends in 'A' should probably be on a new line,
item onea second itema third
I also need to check if the word ending in 'A' should actually end in 'A' like extra or sultana.
item oneasecond itemand an extra item
I have an array full of words ending in 'A' from this website http://www.morewords.com/ends-with/a so I just need the preg_replace function.
I really am learning everytime someone answers a question here so again thanks for everyones time and patience