|
|
Browse by Tags
All Tags » .net » replace
-
I have the follwing code in VB.NET: Dim strPhone As String = oRow("phone").ToString.ToLower ' data is like 123-555-0000X81455
If Regex.IsMatch(strPhone.ToLower, "ext.|ext|ex.|ex|x.|x") Then strPhone = Regex.Replace(strPhone.ToLower, "ext.|ext|ex.|ex|x.|x", "A") End IfIt ...
-
Hi there,
I hope someone can help, cause I'm lost...
First of all I am working with C# and I have a (legacy) Regex I need to adjust. Actually I am using Regex.Replace to match an expression in a string and Replace it.
My current Regex.Replace looks like this:
query = Regex.Replace(query, ...
|
|
|