正则提取文本中的颜色值 #xxxx,不严谨版本

不严谨但兼容性最好:

#[a-fA-F0-9]+

增加严谨性:

#[a-fA-F0-9]{1,6}

posted on 2014-02-25 10:18  xxxteam  阅读(539)  评论(0编辑  收藏  举报

导航