正则表达式查找特定词[关闭]

嗨,Stack Overflow社区,我想编写一个正则表达式来查找特定单词。

An example: I want to check if the substring G1 is present in a string. If the string is G1 X89 Y65 there is a match, however if the string is G11 X65 Y84 ther must not be a match.

评论