Moode Forum
Radio stations - Printable Version

+- Moode Forum (https://moodeaudio.org/forum)
+-- Forum: moOde audio player (https://moodeaudio.org/forum/forumdisplay.php?fid=3)
+--- Forum: Feature requests (https://moodeaudio.org/forum/forumdisplay.php?fid=8)
+--- Thread: Radio stations (/showthread.php?tid=1692)

Pages: 1 2 3


RE: Radio stations - vinnn - 01-17-2020

A simple method would be to use tr, for example;

Code:
echo 'A  s:t&r-i.N"g   123' | tr -d [:punct:] | tr -s [:space:] _ | tr [:upper:] [:lower:]

a_string_123