开发者

regular expression for country code [closed]

开发者 https://www.devze.com 2023-02-14 20:14 出处:网络
It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical a开发者_运维知识库ndcannot be reasonably answered in its current for
It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical a开发者_运维知识库nd cannot be reasonably answered in its current form. For help clarifying this question so that it can be reopened, visit the help center. Closed 11 years ago.

Regular expression for country code like +91 for India


Is it a question ? If you want to get a regexp to match country code like + with two digits, then use:

/(\+\d{2})/
0

精彩评论

暂无评论...
验证码 换一张
取 消