すみません。Regex用テストです。
>>1
>>1,5,6
>>7-8
https://learn.microsoft.com/ja-jp/dotnet/api/system.text.regularexpressions.regex.ismatch?view=net-7.0