regex

If you need help with a project or need to know how to do something specific in VB.NET then please ask your questions in here.
Forum rules
Please LOCK your topics once you have found the solution to your question so we know you no longer require help with your query.
11 posts Page 2 of 2
Contributors
User avatar
Dummy1912
VIP - Donator
VIP - Donator
Posts: 1969
Joined: Sat Aug 21, 2010 2:17 pm

Re: regex
Dummy1912
thanks #XTechVB works like a charm

updated code:
Code: Select all
For Each RgMatch As Match In Rgx.Matches(s)
            Dim FoundCall As String = RgMatch.Value.Substring(5, RgMatch.Value.Length - 5)
            s = s.Replace(RgMatch.Value, "<a href=" + """" + RgMatch.Value + """" + " title=""Call me"" >Call " + FoundCall + "</a>")
        Next
visit us on:


http://www.softpedia.com/get/System/Lau ... -Run.shtml
Check it out ! http://www.softpedia.com/publisher/I-A- ... 90017.html
Check it out ! http://www.softpedia.com/get/Desktop-En ... lock.shtml
11 posts Page 2 of 2
Return to “Coding Help & Support”