Click here to Skip to main content
15,892,005 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
Hi,

I have a table which contains some data.
This table has a column which contains data with HTML tags.
But the scenario is this:

1. This column can not have same values.
2. When a user comes second time to insert new record then it first check the new value with existing value to avoid duplicity.
3. To check this duplicity HTML tags should be ignore. Say if we have a record "What is your country?" and newly data is "What is your country?" . Then this should not be insert.

**How could I use Regex in entity framework to achieve this functionality.
Please suggest some solution.

Thank you,

Regards,
Ashish
Posted
Comments
Sergey Alexandrovich Kryukov 29-Sep-14 1:39am    
Solution for what? Regex has nothing to do with Entity Frame work and MVC. You can use it anywhere. How? Did you try read documentation?
—SA
Aashish vermaa 29-Sep-14 2:56am    
I want to ignore same data without html tag using where clause in entity framework query.
[no name] 8-Oct-14 5:31am    
I guess you can match with using @Html.Raw()

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900