哪个正则表达式最适合这个字符串? [英] which regex pattern is the best for this string ?
本文介绍了哪个正则表达式最适合这个字符串?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我想问一些正则表达式,虽然我对正则表达式不太了解。
i想知道这个字符串的模式,
这里是字符串:
1。 $ BUMI
2. $ BUMI,
3. $ BUMI-W
和那些字符串,我想改变它在c#
1。 $< a href =BUMI> BUMI< / a>
2. $< a href =BUMI> BUMI。< / a>
3. $< a href =BUMI-W> BUMI-W< / a>
谢谢答案。
代码块添加 - OriginalGriff [/ edit]
解决方案
BUMI
2.
BUMI,
3。
BUMI-W
和那些字符串,我想改变它在c#
1
Hi, i wanna ask about some Regular Expression, though i'm not quite understand at regular Expression.
i wanna to know about the pattern for this string,
here is the String :
1. $BUMI
2. $BUMI,
3. $BUMI-W
and for those string, i want to change it become like this in c#
1. $<a href="BUMI">BUMI</a>
2. $<a href="BUMI">BUMI.</a>
3. $<a href="BUMI-W">BUMI-W</a>
thanks for the answer.
[edit]Code block added - OriginalGriff[/edit]
解决方案
BUMI 2.
BUMI, 3.
BUMI-W
and for those string, i want to change it become like this in c#
1.
这篇关于哪个正则表达式最适合这个字符串?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文