Hyperkalemia is a common side effect of these medications. GI disturbances, including nausea, vomiting, diarrhea, anorexia can occur. Triamterene and spironolactone have been known to cause impotence and sexual dysfunction. Spironolactone may precipitate gynecomastia or an SLE-like syndrome.
Flexeril has a half life of 18 hours. So 5x18 is 90 hours. Or just under 4 days. Of course, it is not that easy. This varies on how much and how long the drug was taken and it can vary from person to person. That being said I cannot image any way that flexeril would be detectable 30 days after the last dose.
Flexeril is only supposed to be prescribed for two weeks because research indicates it is most effective within the first two days and stops working within fourteen days. The usual dosage for people over 15 years of age is 10mg taken three times a day, which can be increased to 60mg a day if needed.