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.

Was it helpful?

Solution

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

Try this regex

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

Description

Regular expression visualization

Demo

here

OTHER TIPS

Consider the following Regex...

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

Good Luck!

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top