Regular Expression - Euro Symbol RRS feed

  • Question

  • Hi All

    How can I insert € (euro symbol) in a regular expression in visual studio?

    i.e. for Alphanumeric TextBox  [a-zA-Z0-9!$%^&€]

    If I try with Cntrl+Alt+E  in the string it does'n work 

    Monday, November 12, 2018 4:52 PM


  • Copy it to Clipboard (from your message, for example), then paste to your string or textbox.

    If you need it in the source, then type this string:

       "[a-zA-Z0-9!$%^&" & ChrW(&H20AC) & "]"

    • Edited by Viorel_MVP Monday, November 12, 2018 6:34 PM
    • Marked as answer by Claudio111 Wednesday, November 14, 2018 4:50 PM
    Monday, November 12, 2018 6:29 PM