Functions.RegexpReplace Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
RegexpReplace(Column, Column, Column) |
Replace all substrings of the specified string value that match the pattern with the given replacement string. |
RegexpReplace(Column, String, String) |
Replace all substrings of the specified string value that match the pattern with the given replacement string. |
RegexpReplace(Column, Column, Column)
Replace all substrings of the specified string value that match the pattern with the given replacement string.
public static Microsoft.Spark.Sql.Column RegexpReplace(Microsoft.Spark.Sql.Column column, Microsoft.Spark.Sql.Column pattern, Microsoft.Spark.Sql.Column replacement);
static member RegexpReplace : Microsoft.Spark.Sql.Column * Microsoft.Spark.Sql.Column * Microsoft.Spark.Sql.Column -> Microsoft.Spark.Sql.Column
Public Shared Function RegexpReplace (column As Column, pattern As Column, replacement As Column) As Column
Parameters
- column
- Column
Column to apply
- pattern
- Column
Regular expression to match
- replacement
- Column
String to replace with
Returns
Column object
Applies to
RegexpReplace(Column, String, String)
Replace all substrings of the specified string value that match the pattern with the given replacement string.
public static Microsoft.Spark.Sql.Column RegexpReplace(Microsoft.Spark.Sql.Column column, string pattern, string replacement);
static member RegexpReplace : Microsoft.Spark.Sql.Column * string * string -> Microsoft.Spark.Sql.Column
Public Shared Function RegexpReplace (column As Column, pattern As String, replacement As String) As Column
Parameters
- column
- Column
Column to apply
- pattern
- String
Regular expression to match
- replacement
- String
String to replace with
Returns
Column object