php - regex find or return the second one -


i have text this

`state`.`stateid` 

and want write regex select second part, stateid , i'm not in regex, can me solve please? it's example want second part of every given strings

as example, if have:

`alabama`.`al` `alaska .`ak` `arizona`.`az` `arkansas`.`ar` `california`.`ca` 

use regex capture second text:

/.+`(\w+)/g 

Comments

Popular posts from this blog

javascript - ScrollTo Effect (href to div) -

javascript - ng-class not responding to change in model in Angular? -

javascript - document.registerElement extending HTMLInputElement prototype while using custom tag name to avoid implicit browser style -