Yesterday, I had someone help me with Regex in a single razor model. It didnt quite fit my needs. I needed more regex replaces to be done and I do not know how to chain them unles i do multiple IFs
I found this awesome example. a straight forward method to part a status messages in twitter.
How would I implement this in my razor view model? Any tips would be appreciated.
mbhahn
Member
169 Points
119 Posts
C# Method Regex implementation and Razor
Feb 28, 2012 09:48 PM|LINK
Yesterday, I had someone help me with Regex in a single razor model. It didnt quite fit my needs. I needed more regex replaces to be done and I do not know how to chain them unles i do multiple IFs
I found this awesome example. a straight forward method to part a status messages in twitter.
How would I implement this in my razor view model? Any tips would be appreciated.
http://www.diaryofaninja.com/blog/2010/03/10/twitterify-your-strings-using-c-regex
mbhahn
Member
169 Points
119 Posts
Re: C# Method Regex implementation and Razor
Feb 28, 2012 11:32 PM|LINK
I found my answer I hope its a good practice
In the linq query I passed the static method into the list result