Hey guys and gals, brand new to regex language. Using Visual Studio DotNet. Writing an anagram program. I saw some stuff on regex and I would be intrerested in seeing how it would work it this situation if anyone has the time.
I have two strings: 1. TextBox.text
2. The alphabet in english upper case A - Z
Goal: To find the letters from the textboxt.text string that match the letters in the alphabet string and create a string of only the letters that didn't appear in both strings and turn it into an array.
Then I would like to add a % symbol on either side of each letter in the new array.
examples: Textbox.text = "trees" , Alphabet = String "ABCDE...RST...YZ"
New array %A%, %B%, %C%, %D%, %F%,....%P%, %Q%, %U%, %V%,.....%Z%
I don't know if this is possible with regex, but I would like to see if it is.
Thank you,
Michael.