This paper addresses the problem of mining sequential patterns (SPM) from data represented as a set ofsequences. In this work, we are interested in sequences of items in which each item is associated with its quantity.To the best of our knowledge, existing approaches don’t allow to handle this kind of sequences under constraints.In the other hand, several proposals show the efficiency of constraint programming (CP) to solve SPM problemdealing with several kind of constraints. However, in this paper, we propose the global constraint QSPM whichis an extension of the two CP-based approaches proposed in [5] and [7]. Experiments on real-life datasets showthe efficiency of our approach allowing to specify many constraints like size, membership and regular expressionconstraints.