Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Advice on regexp - Non word characters
#1
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.


Messages In This Thread

Forum Jump:


Users browsing this thread: 1 Guest(s)