下面是我的一段代碼,在給出工具名稱作爲輸入並按下提交時,應執行與該工具相對應的批處理文件。 <html>
<head>
<title>My Form</title>
</head>
<body>
<form action="batch.php" method=post>
Which tool you would like to use:
<br> <inpu
我在C#以下字符串: string str = "10:30,11:30,12:00#14:00,16:00";
我想寫的正則表達式,可以驗證此字符串,並檢查它是否在以下格式與否: pattern = "Time in hh:mm or h:m format saperated by comma + # + Time in hh:mm
or h:m format saperate