Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
226 views
in Technique[技术] by (71.8m points)

javascript - Regex that accepts foreign characters except emojis

I'm using /[a-zA-Z0-90-9A-z]/g as a regex but it doesn't accept the test case if it doesn't have a digit.

What regex can I use? I'm using it in React so p{L} doesn't work for me.

test case

北海道札幌市中央区以下に掲載がない場合
北海道札幌市中央区以下に掲載がない場合
北海道札幌市中央区大通西
1~19丁目
央区北二条西(1~19丁目)
北海道札幌市中央区以下に掲載がない場合
北海道札幌市中央区大通西(1~19丁目)
????? ??? ???3? 23, 102? 304? ??? ?? 30174
18-Molave St, Makati City
北海道札幌市中央区大通東
??????: (false)

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

1 Answer

0 votes
by (71.8m points)
等待大神答复

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

...