如何为包含$ BBBA-W或$ BBBB的Regex创建模式 [英] How do I create a pattern for Regex That Contains $BBBA-W or $BBBB
本文介绍了如何为包含$ BBBA-W或$ BBBB的Regex创建模式的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
这里我想问一个问题'回合正则表达式,
就像问题标题一样,我想从包含$ XXXX或$ XXXX-的字符串创建一个正则表达式模式Z(X和Z是ignoreCase,它可以是大写或小写),
字符串的例子是:
*这里是字符串的示例包含$ XYZA
*这里是第二个包含$ XYZA-B的字符串示例
有人可以帮助我,我需要它很快。
谢谢..
here i want to ask a question 'bout a regular expression,
as the same like the question title, i want to create a Regex pattern from a string that contains $XXXX or $XXXX-Z (the X and Z is ignoreCase, it can be uppercase, or lowercase),
example of the string is :
* here is the example of string contains $XYZA
* here is the second example of string contains $XYZA-B
can somebody help me please, i need it very quick.
thanks..
推荐答案
XXXX或
XXXX-Z(X和Z是ignoreCase,它可以是大写或小写),
字符串的例子是:
*这里是字符串包含的例子
XXXX-Z (the X and Z is ignoreCase, it can be uppercase, or lowercase),
example of the string is :
* here is the example of string contains
XYZA
*这里是字符串包含的第二个例子
XYZA
* here is the second example of string contains
这篇关于如何为包含$ BBBA-W或$ BBBB的Regex创建模式的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文