tool-taro posted at Feb 06, 2016
Java 正規表現を使ってUser-Agentから端末型番を簡単に取得する(ガラケー編)
{
"DoCoMo/2.0 F900i(c100;TB;W22H12)",
"UP.Browser/3.04-SN12 UP.Link/3.4.4",
"KDDI-HI31 ...
- 5
lampt posted at Mar 18, 2019
よく使用される正規表現
[0-9]*)*/
文字と数字
空白なし:/^[a-zA-Z0-9]*$/
空白有り:/^[a-zA-Z0-9 ]*$/
Email
Email:/^([a-
- 1
cr_tk posted at Jan 12, 2018
正規表現でよく使うメタ文字を使った簡単な処理
・連続ドット入力可能
[0-9a-zA-Z.\-_]*(?! .@([0-9a-zA-Z])+.[0-9a-zA-Z.\-]+$
入力値
...
- 7
emesh posted at Feb 24, 2020
PHPで分かち書きをする意識低い方法
;
//正規表現でメモを分割する
preg_match_all('/[一-龠]+|[ぁ-ん]+|[ァ-ヴー]+|[a-zA-Z0-9]+|[a-zA-Z0-9]+/u', $ ...
- 2
HaraShun posted at Nov 20, 2018
Git / Github おすすめ学習参考資料まとめ
v=_PO7a31J4Go )
書籍
「Web制作者のためのGitHubの教科書 チームの効率を最大化する共同開発ツール Web制作者のための教科書シリーズ」
(https: ...
- 8
blackenedgold posted at Dec 22, 2015
Rubyにパッチが取り込まれた話、あるいは正規表現について少し。
ブログから改善率の高い正規表現を抜き出すと、
a[^x]{20}b (31%)
[a-zA-Z]+ing (49%)
[a-zA-Z]+i ...
- 19
- 2
ponsuke0531 posted at Dec 11, 2018
メールアドレスのフォーマットチェックのリンク集
a-zA-Z]+[a-zA-Z0-9-]*[a-zA-Z0-9](?:\.[a-zA-Z]+[a-zA ...
- 19
ishishow posted at Dec 26, 2020
LeetCodeに毎日挑戦してみた 125. Valid Palindrome(Python、Go)
(Pythonは弱弱だが経験あり)
31問目(問題125)
125. import (
"regexp"
"strings"
)
func isPalindrome(s st ...
- 0
hawk777 posted at Mar 12, 2020
リストのソート
なソート
list1 = ["A1","A2","A3","A10","A11","A12","A13","A20","A21","A22","A23","A30","A31 ...
- 0
- 2
agotoh posted at Dec 13, 2017
wordpress開発環境をローカルに構築
ed_port", guest: 80, host: 8080
config.vm.network "private_network", ip: "192.168.33.31 ...
- 0
Search syntax
- title:Git
- Containing "Git" in title
- body:Ruby
- Containing "Ruby" in body
- code:function
- Containing "function" in code
- tag:Rails
- Tagged with "Rails"
- user:qiita
- Created by qiita
- stocks:>3
- more than 3 stocked
- created:>2021-03-13
- Created after 2021-03-13
- updated:>2021-03
- Updated after 2021-03-01
- -tag:Ruby
- Not containing "tag:Ruby"
- Ruby OR Rails
- Containing "Ruby" or "Rails"