about summary refs log tree commit diff
path: root/content/sw-notes/regex-unicode.md
blob: 97c28b8b89394e2f5fae9de0bd1d2e3413d7964f (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
---
title: "How to match Unicode in RegEx"
date: 2022-02-13T16:32:53+07:00
translationKey: regex-unicode
categories: [software, guide]
tags: [regex, "regular expression", unicode]
---

Today I learned how to match [unicode in RegEx][regex-unicode].

For example, unicode-encoded letters (that is, any letters from any language)
can be matched with `\p{L}`.  View [an example on RegEx 101][example]

[regex-unicode]: https://www.regular-expressions.info/unicode.html
[example]: https://regex101.com/r/N602FX/1