J
J
Julia2014-02-25 22:00:31
Python
Julia, 2014-02-25 22:00:31

Numbers and symbols in a string

Please tell me how to check if there are numbers or symbols in a string?
is there any method?
Or should I use exception handling?
Thank you

Answer the question

In order to leave comments, you need to log in

1 answer(s)
V
Vyacheslav Redkin, 2014-02-25
@SlaF

Use regular expressions with the re module

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question