I have strings that I want to extract to a variable the part after the last / character.
Sample strings are:
apps/test/wordpress/wordpressA
apps/wordpress/wordpressA
apps/wordpressA
wordpressA
I want to create a new_variable with just wordpressA in it from all the samples. I won't know how many / characters there may be in each variable.