参考:【Java】正規表現のまとめ # 構文 df.withColumn( <追加するカラム名>, F.regexp_extract(<文字列型カラム>, <正規表現パターン>, <マッチ文字列の何番目の要素を抽出するか>) ) # 例文 from pyspark.sql import functions as F display( df.withColumn( "hyphon", F.regexp_extract( "what_...