Regular expression for international characters

Path Finder


I've written a regular expression to capture international characters, the only trouble I'm having with it now is setting the limit on the length of the character.

This is what I have:


I've been using the following site to validate it:

Please help!

Tags (1)
0 Karma

Adapting to SPL from this post:

I think this should work:

| stats count 
| eval tf="Baum -$&*( 5 Steine hoch groß 3 Stück grün****" 
| rex field=tf max_match=0 "(?<int_chars>(\p{L}))"
0 Karma

Just to be clear: the first two lines just set up some dummy data. The only part you'd really need is the regex:

0 Karma


You should provide some sample data to test this against

0 Karma