I need to loop a string and to do the following:
- Determine if one of these characters ( "/", " [", " (" ) exist in the string.
- If one of the above strings do exist, then I want to return all of the string to the left of the targeted characters ( "/", " [", " (" ).
- If none of the targeted characters exist, then return the full string.