Regex expression statement pattern -


i'm trying extract values following statement using regex , statement looks this: from jfk ind so, need able extract jfk , ind

can in providing right regex expression it?

from\s+(?<origin>[a-z]{3})\s+to\s+(?<destination>[a-z]{3}) 

Comments

Popular posts from this blog

Add email recipient to all new Trac tickets -

400 Bad Request on Apache/PHP AddHandler wrapper -

php - Change action and image src url's with jQuery -