UNPKG

ice.fo.utils

Version:

4 lines (3 loc) 144 B
export default function getKoreanCharacters(text) { return text.replace(/[a-zA-Z0-9$&+,:;=?@#|'<>.^*()%!-]/g, ''); // Can change to improve }