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

python - mat is not a numerical tuple : openCV error -

c# - MSAA finds controls UI Automation doesn't -

wordpress - .htaccess: RewriteRule: bad flag delimiters -