Solved

regex simple question

Posted on 2012-04-03
4
264 Views
Last Modified: 2012-04-03
what would be  a regex not allows space between words?  

ex.  mytest  - is ok
ex. my test  - is not ok.
0
Comment
Question by:1jaws
  • 2
4 Comments
 
LVL 7

Expert Comment

by:ZShaver
ID: 37803513
[\s]
0
 
LVL 7

Expert Comment

by:ZShaver
ID: 37803515
[:space:]
0
 
LVL 13

Accepted Solution

by:
Rick earned 500 total points
ID: 37803654
^[\S]*$
0
 

Author Closing Comment

by:1jaws
ID: 37803660
thanks that works!
0

Featured Post

Active Directory Webinar

We all know we need to protect and secure our privileges, but where to start? Join Experts Exchange and ManageEngine on Tuesday, April 11, 2017 10:00 AM PDT to learn how to track and secure privileged users in Active Directory.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Just a quick little trick I learned recently.  Now that I'm using jQuery with abandon in my asp.net applications, I have grown tired of the following syntax:      (CODE) I suppose it just offends my sense of decency to put inline VBScript on a…
International Data Corporation (IDC) prognosticates that before the current the year gets over disbursing on IT framework products to be sent in cloud environs will be $37.1B.
Two types of users will appreciate AOMEI Backupper Pro: 1 - Those with PCIe drives (and haven't found cloning software that works on them). 2 - Those who want a fast clone of their boot drive (no re-boots needed) and it can clone your drive wh…
I've attached the XLSM Excel spreadsheet I used in the video and also text files containing the macros used below. https://filedb.experts-exchange.com/incoming/2017/03_w12/1151775/Permutations.txt https://filedb.experts-exchange.com/incoming/201…

828 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question