Playing Loop A Selection In Pattern

When i record kilometers of bassline with my keyboard, it often happends that a good loop can be from step 20 to 36 for example.
How can i play loop out of blocks, from where i want to where i want without copying/pasting? just to hear if i suits good? :)
thank you !