0
我在JavaScript中尋找一個正則表達式或邏輯陷阱以下條件尋找一個正則表達式來滿足以下
If a value begins with a number [space] Street call X
5 Eastern
500 Eastern
25 15th
..
If NO street number call Y
Eastern
15th St
N Eastern
任何幫助或方向將是讚賞。
而不是* *尋找一個正則表達式,你爲什麼不嘗試寫* *一個?採取[正則表達式教程](http://www.regular-expressions.info/tutorial.html)。 – nnnnnn