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 - How to synchronize the Three.js and HTML/SVG coordinate systems (especially w.r.t. the y-axis)? -

javascript - How do I find how many occurences are there of a highlighted string, and which occurence is it? -

java - Reading data from multiple zip files and combining them to one -