Solved

regex simple question

Posted on 2012-04-03
4
261 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

How to improve team productivity

Quip adds documents, spreadsheets, and tasklists to your Slack experience
- Elevate ideas to Quip docs
- Share Quip docs in Slack
- Get notified of changes to your docs
- Available on iOS/Android/Desktop/Web
- Online/Offline

Join & Write a Comment

Suggested Solutions

Title # Comments Views Activity
Code enhancement 5 12
Check if number is currency 15 29
install app on other machine 13 13
Jquery autocomplete 10 27
For those of you who don't follow the news, or just happen to live under rocks, Microsoft Research released a beta SDK (http://www.microsoft.com/en-us/download/details.aspx?id=27876) for the Xbox 360 Kinect. If you don't know what a Kinect is (http:…
Wouldn’t it be nice if you could test whether an element is contained in an array by using a Contains method just like the one available on List objects? Wouldn’t it be good if you could write code like this? (CODE) In .NET 3.5, this is possible…
This video gives you a great overview about bandwidth monitoring with SNMP and WMI with our network monitoring solution PRTG Network Monitor (https://www.paessler.com/prtg). If you're looking for how to monitor bandwidth using netflow or packet s…
This video shows how to remove a single email address from the Outlook 2010 Auto Suggestion memory. NOTE: For Outlook 2016 and 2013 perform the exact same steps. Open a new email: Click the New email button in Outlook. Start typing the address: …

758 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

Need Help in Real-Time?

Connect with top rated Experts

21 Experts available now in Live!

Get 1:1 Help Now