Question


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.

Était-ce utile?

La solution

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

Try this regex

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

Description

Regular expression visualization

Demo

here

Autres conseils

Consider the following Regex...

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

Good Luck!

Licencié sous: CC-BY-SA avec attribution
Non affilié à StackOverflow
scroll top