Regular Expression(正規表現) Part17 (272レス)
上下前次1-新
抽出解除 レス栞
114(3): 2024/07/29(月)23:15 ID:rj9tTr/V(1) AAS
●Regular Expressionの使用環境
JaneXeno
●検索か置換か?
検索
●説明
.com .net .jp 以外のドメインを含むURLをNGにしたい
●対象データ
外部リンク:example.com
外部リンク:example.net
外部リンク:example.jp
外部リンク:example.cn
外部リンク:example.xyz
外部リンク:example.com
外部リンク:example.net
外部リンク:example.jp
外部リンク:example.cn
外部リンク:example.xyz
●希望する結果
外部リンク:example.cn
外部リンク:example.xyz
外部リンク:example.cn
外部リンク:example.xyz
115(1): 2024/07/30(火)15:30 ID:QttCMg3R(1) AAS
>>114
https?+://(?:[!-~&&[^./"()<>]]++\.)++(?!com|net|jp)(?>[a-z]{2,10})(?::(?>[0-9]{2,5}))?+(?>[/?#]|(?![!-~&&[^"()<>]]))
116: 114 2024/07/30(火)16:01 ID:DGOcYJSo(1) AAS
>>115
神様、マジありがとうございました
118: 114 2024/08/04(日)11:54 ID:katRHk63(1) AAS
>>117
ちょっと何言ってるか分からない
上下前次1-新書関写板覧索設栞歴
スレ情報 赤レス抽出 画像レス抽出 歴の未読スレ AAサムネイル
ぬこの手 ぬこTOP 0.022s