Hi all,
Is there any solution to do this task? I have been searching for solution, but i did not found it.
I am using this code for replaces. But dont know, how to say the script, that $2 i want to replace with small case
For example
elefant 1234AB to elefant 1234ab
I know i can do it also with replace without regex, but there is too much words what i need to replace
Thank you for helping me...
<code style="margin: 0px; padding: 0px; font-style: inherit;"> Dim r As Range Dim Univers0 As Object 'elefant 1234AB to elefant 1234ab animal.Pattern = "^(elefant \d{1,4})(A-Z){1,2}" For Each r In Range("A2", Range("A" & Rows.Count).End(xlUp)) If animal.test(r.Value) Then r(, 1).Value = animal.Replace(r.Value, "$1$2") End If NextEnd Sub</code></pre>
Is there any solution to do this task? I have been searching for solution, but i did not found it.
I am using this code for replaces. But dont know, how to say the script, that $2 i want to replace with small case
For example
elefant 1234AB to elefant 1234ab
I know i can do it also with replace without regex, but there is too much words what i need to replace
Thank you for helping me...
<code style="margin: 0px; padding: 0px; font-style: inherit;"> Dim r As Range Dim Univers0 As Object 'elefant 1234AB to elefant 1234ab animal.Pattern = "^(elefant \d{1,4})(A-Z){1,2}" For Each r In Range("A2", Range("A" & Rows.Count).End(xlUp)) If animal.test(r.Value) Then r(, 1).Value = animal.Replace(r.Value, "$1$2") End If NextEnd Sub</code></pre>