Not getting the data for special charters RRS feed

  • Question

  • Hello All,

    I have one linq query where values are getting pulled based upon the class name. However i can only pull the value of class "Havemor" and not the other one due to the special characters.

    I tried using Regex, but no luck

    Regex= .Where(i => Regex.IsMatch(i.Class, @"[^\w\d\s\<\-\(\)]) ", RegexOptions.IgnoreCase))



    PT<90-UY (Night Wok)


    PT<90-PX (Night Wok)




    Kindly suggest.

    • Edited by MaheshLal Monday, March 30, 2020 6:12 PM Half Regex code pasted
    Monday, March 30, 2020 5:56 PM

All replies

  • Hi Missii,
    Based on your description, could you explain in detail what " where values are getting pulled based upon the class name" means?
    What is the relationship between "Class" and "Value"? Could you provide some related code?
    Best Regards,
    Daniel Zhang

    MSDN Community Support
    Please remember to click "Mark as Answer" the responses that resolved your issue, and to click "Unmark as Answer" if not. This can be beneficial to other community members reading this thread. If you have any compliments or complaints to MSDN Support, feel free to contact

    Tuesday, March 31, 2020 9:35 AM
  • Also explain the rules to be used for filtering the classes.

    Tuesday, March 31, 2020 6:28 PM