Solved

regex simple question

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

Live: Real-Time Solutions, Start Here

Receive instant 1:1 support from technology experts, using our real-time conversation and whiteboard interface. Your first 5 minutes are always free.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Keyboard 2 33
HttpPostedFile 1 26
Batch file or script with password 22 42
How do you pull mopre then 1000 records using VB.NET Directory Services namespace 2 14
Problem Hi all,    While many today have fast Internet connection, there are many still who do not, or are connecting through devices with a slower connect, so light web pages and fast load times are still popular.    If your ASP.NET page …
Calculating holidays and working days is a function that is often needed yet it is not one found within the Framework. This article presents one approach to building a working-day calculator for use in .NET.
This tutorial gives a high-level tour of the interface of Marketo (a marketing automation tool to help businesses track and engage prospective customers and drive them to purchase). You will see the main areas including Marketing Activities, Design …
Windows 10 is mostly good. However the one thing that annoys me is how many clicks you have to do to dial a VPN connection. You have to go to settings from the start menu, (2 clicks), Network and Internet (1 click), Click VPN (another click) then fi…

785 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