Question: From an input string I would like to get rid of the non-alphanumeric characters (`:`, `-`, etc.) but maintain latin characters. Also replace the blank spaces `" "` with `"-"`.

This is my try, but I dont know how to maintain the latin characters.

```
String title ="NEYÑO: HOW ARE YÓU MATE";
title = title.replaceAll("[^A-Za-z0-9 ]", "").replace(" ", "-").toLowerCase();
System.out.println(title);

```

Output:

```
neyo-how-are-yu-mate

```

Desired output:

```
neyño-how-are-yóu-mate

```

Thanks in advance

Answer: 
Just use `vertical-align: middle;` for the `li` element too.

```
li {
    display: inline-block;
    margin-left: 15px;
    margin-right: 15px;
    vertical-align: middle;
}

```

**[DEMO](https://jsfiddle.net/0bbboj29/1/)**
Replace 

```
li {
    display: inline-block; <<
    margin-left: 15px;
    margin-right: 15px;
}

```

with

```
li {
    display: block; <<
    margin-left: 15px;
    margin-right: 15px;
}

```