質問


I have write some regexp for this but i don't get exact one.
please check this link.
In this i want differentiate Location field into three parts.

Ref Link: https://avayacorp.authoria.net/joblist.html

  1. country
  2. State
  3. City

Please give more suggestions in this.

役に立ちましたか?

解決

I assume that you try to differentiate location field right from html code.

Try this regex

">([^-/]+)-([^-]+)-([^-/]+)<

Description

Regular expression visualization

Demo

here

他のヒント

Consider the following Regex...

(?<=-?)\w+(?=-?)

Good Luck!

ライセンス: CC-BY-SA帰属
所属していません StackOverflow
scroll top