pattern要素の使い方(正規表現を属性に入力する場合)
特定の文字を含む pattern = "^[a-zA-Z0-9 ]+\\S$$" 「^...」は「...で始まる」という意味。 「[a-zA-Z0-9 ]」は「小文字・大文字の全角アルファベット...
0
0
Comment0
1 search resultsShowing 1~1 results
You need to log-in
特定の文字を含む pattern = "^[a-zA-Z0-9 ]+\\S$$" 「^...」は「...で始まる」という意味。 「[a-zA-Z0-9 ]」は「小文字・大文字の全角アルファベット...
1 search resultsShowing 1~1 results
Qiita is a knowledge sharing service for engineers.