省市区正则表达式

 '浙江省宁波市鄞州区'.replace(/.*省(.+)市.*/, '$1')
"宁波" 
posted @ 2016-05-14 15:20  Richfiter  阅读(4666)  评论(0编辑  收藏  举报