PowerShell -Part 7 (459レス)
上下前次1-新
抽出解除 レス栞
リロード規制です。10分ほどで解除するので、他のブラウザへ避難してください。
171: 2024/04/08(月)21:40:31.39 ID:bL5gAXu8(1) AAS
PowerShell の ps1 ファイルは 何故 1なのか
外部リンク:tech.guitarrapc.com
174: 2024/04/09(火)20:15:01.39 ID:ru6IFaGR(1) AAS
>>172
解釈はまかせるけど技術ブログでは以下の記載がある
外部リンク:devblogs.microsoft.com
> As a reminder, PowerShell 7 is built on the latest .NET which does not have the same support lifecycle as Windows. We can’t ship something as a feature in Windows that does not align with Windows’ support lifecycle.
295: 2024/10/01(火)08:34:51.39 ID:CEO/MZ1M(1) AAS
ワイ氏、whereというコマンドがあることをパソコン歴20年にして初めて知る
424(1): 04/26(土)21:00:04.39 ID:arwW7ZGW(1) AAS
>>423
なんで変数の対応がめちゃくちゃなの?
正規表現で力技でやるとこんなところだが
xmlとして読み込めばnode削除でいけそうな気がする
Add-Type -AssemblyName Microsoft.VisualBasic
$html = Get-Content "D:\Download\test\sample.html" -Raw
# KWクラスdivを正規表現で削除
$pattern = [regex]"^((?:(?'open'<div[^>]*?>[\r\n]*))|(?'close-open'</div>)|(?:(?!</?div[^>]*>)[\s\S])+?)*(?(open)(?!))"
$processedHtml=$pattern.replace($html,{
$r=$args.value
省8
454: 05/20(火)15:30:07.39 ID:NKLxZTlt(2/3) AAS
>>453
こうなる
(ConvertFrom-Json('{"data":"2025-05-19T16:35:42.000Z"}')).data
2025年5月19日 16:35:42
上下前次1-新書関写板覧索設栞歴
スレ情報 赤レス抽出 画像レス抽出 歴の未読スレ AAサムネイル
ぬこの手 ぬこTOP 0.027s