using System;
using System.Text.RegularExpressions;
public class Program
{
public static void Main()
Regex regex = new Regex("(.[^/]*)/(.*)");
Match match = regex.Match("F216/654");
if (match.Success)
foreach(var g in match.Groups)
Console.WriteLine(g.ToString());
}