T
T
taleh_b2016-02-18 15:05:57
PHP
taleh_b, 2016-02-18 15:05:57

How to compose a regular expression, only English letters, numbers and spaces, no symbols?

The site, after a request to it, gives out nonsense in a strange encoding, which one it was not found. Help compose a regular expression for the parse. Without Russian letters and symbols.

Answer the question

In order to leave comments, you need to log in

2 answer(s)
G
GreatRash, 2016-02-18
@GreatRash

[a-zA-Z0-9\s]+

T
taleh_b, 2016-02-18
@taleh_b

/[^\W]|\S([A-Za-z0-9]{1,40})/ did like this, finds only the first word, I think it will do

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question