I actually have two questions, but I will leave question 2 for another post after this one gets resolved since it does not really pertain directly to the question in this post.

I have the below data that represents the order in which stimuli were given to participants, the (NN) at the end of each substring represents a particular treatment, and the | represents the separation of the order in which the stimuli was presented:

Code:
* Example generated by -dataex-. To install: ssc install dataex
clear
input strL question_order
"StillLifeDrawing2(NN)|GraffitiDrawing1(NN)|CountrysideDrawing2(NN)|CountrysideDrawing1(NN)|StillLifeDrawing1(NN)|GraffitiDrawing2(NN)|HouseDrawing1(NN)|HouseDrawing2(NN)"
"HouseDrawing2(NN)|CountrysideDrawing2(NN)|CountrysideDrawing1(NN)|StillLifeDrawing2(NN)|GraffitiDrawing1(NN)|HouseDrawing1(NN)|GraffitiDrawing2(NN)|StillLifeDrawing1(NN)"
"HouseDrawing2(NN)|CountrysideDrawing2(NN)|CountrysideDrawing1(NN)|StillLifeDrawing2(NN)|GraffitiDrawing1(NN)|HouseDrawing1(NN)|GraffitiDrawing2(NN)|StillLifeDrawing1(NN)"
"HouseDrawing2(NN)|GraffitiDrawing1(NN)|HouseDrawing1(NN)|CountrysideDrawing1(NN)|CountrysideDrawing2(NN)|GraffitiDrawing2(NN)|StillLifeDrawing1(NN)|StillLifeDrawing2(NN)"
"CountrysideDrawing1(NN)|HouseDrawing1(NN)|CountrysideDrawing2(NN)|StillLifeDrawing2(NN)|StillLifeDrawing1(NN)|HouseDrawing2(NN)|GraffitiDrawing2(NN)|GraffitiDrawing1(NN)"
"HouseDrawing2(NN)|CountrysideDrawing2(NN)|CountrysideDrawing1(NN)|StillLifeDrawing2(NN)|GraffitiDrawing1(NN)|HouseDrawing1(NN)|GraffitiDrawing2(NN)|StillLifeDrawing1(NN)"
"StillLifeDrawing1(NN)|CountrysideDrawing1(NN)|GraffitiDrawing2(NN)|CountrysideDrawing2(NN)|StillLifeDrawing2(NN)|HouseDrawing2(NN)|HouseDrawing1(NN)|GraffitiDrawing1(NN)"
"HouseDrawing2(NN)|CountrysideDrawing2(NN)|CountrysideDrawing1(NN)|StillLifeDrawing2(NN)|GraffitiDrawing1(NN)|HouseDrawing1(NN)|GraffitiDrawing2(NN)|StillLifeDrawing1(NN)"
"CountrysideDrawing1(NN)|CountrysideDrawing2(NN)|GraffitiDrawing1(NN)|StillLifeDrawing1(NN)|HouseDrawing1(NN)|StillLifeDrawing2(NN)|GraffitiDrawing2(NN)|HouseDrawing2(NN)"
"CountrysideDrawing1(NN)|HouseDrawing1(NN)|CountrysideDrawing2(NN)|StillLifeDrawing2(NN)|StillLifeDrawing1(NN)|HouseDrawing2(NN)|GraffitiDrawing2(NN)|GraffitiDrawing1(NN)"
"CountrysideDrawing1(NN)|HouseDrawing1(NN)|CountrysideDrawing2(NN)|StillLifeDrawing2(NN)|StillLifeDrawing1(NN)|HouseDrawing2(NN)|GraffitiDrawing2(NN)|GraffitiDrawing1(NN)"
"GraffitiDrawing2(NN)|CountrysideDrawing1(NN)|StillLifeDrawing1(NN)|HouseDrawing1(NN)|HouseDrawing2(NN)|CountrysideDrawing2(NN)|GraffitiDrawing1(NN)|StillLifeDrawing2(NN)"
"GraffitiDrawing2(NN)|CountrysideDrawing1(NN)|StillLifeDrawing1(NN)|HouseDrawing1(NN)|HouseDrawing2(NN)|CountrysideDrawing2(NN)|GraffitiDrawing1(NN)|StillLifeDrawing2(NN)"
"StillLifeDrawing2(NN)|GraffitiDrawing1(NN)|CountrysideDrawing2(NN)|CountrysideDrawing1(NN)|StillLifeDrawing1(NN)|GraffitiDrawing2(NN)|HouseDrawing1(NN)|HouseDrawing2(NN)"
"GraffitiDrawing2(NN)|CountrysideDrawing1(NN)|StillLifeDrawing1(NN)|HouseDrawing1(NN)|HouseDrawing2(NN)|CountrysideDrawing2(NN)|GraffitiDrawing1(NN)|StillLifeDrawing2(NN)"
"HouseDrawing2(NN)|GraffitiDrawing1(NN)|HouseDrawing1(NN)|CountrysideDrawing1(NN)|CountrysideDrawing2(NN)|GraffitiDrawing2(NN)|StillLifeDrawing1(NN)|StillLifeDrawing2(NN)"
end
For this question, I am wondering how I can remove all instances of (NN) including the () and the trailing spaces after deletion for each string observation. I have another variable that specifies the treatment and no longer need the (NN) in the string.

Any help would be greatly appreciated.