正規式: /d(b+)(d)/i
// 比對一個字元 d,後面接著一或多個 b,再接著一個 d
// Remember matched b's and the following d
// 忽略大小寫

Enter your text to be tested:

input:

output: