10-02-2016, 03:16 PM
I am sorry, but I am in need to ask again question on regexp. I am afraid I am still studying and learning this issue. The question : I need to replace non word characters. I failed using \w in that it cannot detect unicode characters in greek character set. Therefore, I by-passed this problem using the following expression :
st.replacerx("\d|\,|\.|\\|\: |\(|\)|\_|\%|\$" " ")
I wonder whether there exists a simpler way to do it. Many thanks in advance.
st.replacerx("\d|\,|\.|\\|\: |\(|\)|\_|\%|\$" " ")
I wonder whether there exists a simpler way to do it. Many thanks in advance.