To write a non-capturing group, you place ?: as the first element inside the brackets: ([0-9]+)(?:st|nd|rd|th)?. This example matches either a sequence of ...
確定! 回上一頁