相关疑难解决方法(0)

LINQ to SQL SOUNDEX - possible?

I have done a little bit of research on this and looked through a few articles both here on StackOverflow as well as some blog posts, but haven't found an exact answer. I also read that it is possible to do it using the 4.0 framework, but have yet to find any supporting evidence.

So my question, is it possible to perform SOUNDEX via a LINQ to SQL Query?

sql soundex linq-to-sql

10
推荐指数
3
解决办法
6044
查看次数

具有空格的关键字之间的任何字符

我正在创建一个关键字黑名单,我想在文本文件中检查,但是,我找不到任何正则表达式文档,这将帮助我解决以下问题.

我有一组列入黑名单的关键字:

欢迎,再见,加入我们

我想检查一些文本文件是否有任何匹配.我正在使用以下正则表达式来匹配确切的单词和复数版本.

string.Format(@"\b{0}s*\b", keyword)
Run Code Online (Sandbox Code Playgroud)

但是,我遇到了一个匹配关键字的问题,其中包含两个单词和两个单词之间的任何字符.上面的正则表达式匹配'加入我们',但我也需要匹配'join @ us'或'join_us'.

任何帮助将不胜感激.

c# regex

2
推荐指数
1
解决办法
245
查看次数

标签 统计

c# ×1

linq-to-sql ×1

regex ×1

soundex ×1

sql ×1