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
Post a Comment