Column.
rlike
SQL RLIKE expression (LIKE with Regex). Returns a boolean Column based on a regex match.
Column
an extended regex expression
Examples
>>> df.filter(df.name.rlike('ice$')).collect() [Row(age=2, name='Alice')]
previous
pyspark.sql.Column.over
next
pyspark.sql.Column.startswith