title: Remove all fragments up to particular fragment in stack android
body: <p>Hi I am developing android application in which I am using fragments and push to back stack. So my scenario is like this I have fragment A, B, C, D and I push them in following sequence A-->B-->C-->D and what I want I want to remove D and C and bring B on top. Is there any way to remove all together and bring one particular fragment on top of the stack. like pop from back stack upto xyz fragment tag. Is there any way to do this. Need help thank you.  </p>