[Okta Webinar] Learn how to a build a cloud-first strategyRegister Now

x
?
Solved

regex simple question

Posted on 2012-04-03
4
Medium Priority
?
270 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 2000 total points
ID: 37803654
^[\S]*$
0
 

Author Closing Comment

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

Featured Post

Prep for the ITIL® Foundation Certification Exam

December’s Course of the Month is now available! Enroll to learn ITIL® Foundation best practices for delivering IT services effectively and efficiently.

Question has a verified solution.

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

This article is for Object-Oriented Programming (OOP) beginners. An Interface contains declarations of events, indexers, methods and/or properties. Any class which implements the Interface should provide the concrete implementation for each Inter…
Performance in games development is paramount: every microsecond counts to be able to do everything in less than 33ms (aiming at 16ms). C# foreach statement is one of the worst performance killers, and here I explain why.
Please read the paragraph below before following the instructions in the video — there are important caveats in the paragraph that I did not mention in the video. If your PaperPort 12 or PaperPort 14 is failing to start, or crashing, or hanging, …
Whether it be Exchange Server Crash Issues, Dirty Shutdown Errors or Failed to mount error, Stellar Phoenix Mailbox Exchange Recovery has always got your back. With the help of its easy to understand user interface and 3 simple steps recovery proced…
Suggested Courses
Course of the Month19 days, 13 hours left to enroll

872 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