Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
住所フィールドの最後の文字を大文字にしたい。したがって、"300 E.87th St. #4b" は "300 E.87th St. #4B" になりますが、"87th" は 87Th に変更されません。TextMateでそれを行うことはできますか? もしそうなら、構文は何ですか?
ありがとう。
解決策は、Find フィールドに 2 つのキャプチャ ([0-9])([az])$ を配置し、両方を Replace に含めることでした: $1\U$2。
明らかだと思います。正規表現が必要になったのはこれが初めてで、基本を学びながら問題を解決しようとしていました。これは間違いなく非常に一般的な状況です!