Regular Expressions 101

Community Patterns

1...34567...884

Parse Address - Prefecture

1

Regular Expression
Java 8

"
([\p{InHiragana}+|\p{InKatakana}+|\p{IsHan}+]+[県都府道])(.*)
"
gmiu

Description

get prefecture from Japanese address

Submitted by Gary Ascuy - 3 months ago