-1

VB 2010 と Regex を使用して、HTML ブロック内のパターン "[number]/[number]" のテキストを検索しています。どの正規表現検索パターンを使用すればよいですか? ありがとう !

4

1 に答える 1

1
(\d+)\s*\/\s*(\d+)

説明:

(\d+): One or more digits. Captured in first group.
\s*  : Zero or more space like chars
\/   : The `/`. Escaped.
\s*  : Zero or more space like chars
(\d+): One or more digits. Captured in second group.
于 2012-05-13T11:31:18.663 に答える