{n,m}

Repeats the previous item between n and m times. This option is greedy, so repeating m times is tried before reducing the repetition to n times, where n >= 0 and m >= n

 

Figure 1

Example

In this this example, we are matching X_X where the underscore is repeated between 3 and 6 times.

 

X-{3,6}X

 

When run in the Regular Expression Testing Utility which ships with Blade, you can see the matches in Figure 2.

 

Figure 2