Consistency of structure is critical in string manipulation.
Assuming there is an A preceding a single digit at end of string (when present at all), consider:
Trim(IIf(x LIKE "*A#", Replace(x, Right(x, 2), ""), x))
Any variation from that assumption will complicate.
If the field is Null, expression will error. In a query, one way to handle that possibility:
IIf(Not x Is Null, Trim(IIf(x LIKE "*A#", Replace(x, Right(x, 2), ""), x)))
RegEx could be more flexible and compact but has a fairly steep learning curve. Also, AFAIK cannot be called directly in query. Would have to build a custom function to perform manipulation and return value. Review Microsoft office Access `LIKE` VS `RegEx`