Domanda


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.

È stato utile?

Soluzione

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

Try this regex

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

Description

Regular expression visualization

Demo

here

Altri suggerimenti

Consider the following Regex...

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

Good Luck!

Autorizzato sotto: CC-BY-SA insieme a attribuzione
Non affiliato a StackOverflow
scroll top