2012-11-30 48 views

回答

4

有在PCRE特殊标记来表示一个字符串

/^a/ => will match all strings that start with "a" 
+0

这解决了这个问题的开始和结束,我不知道有关的特殊标记。谢谢 – GibboK

2

您可以使用字符串的开头anchor^

^a 
相关问题