473,473 Members | 2,003 Online
Bytes | Software Development & Data Engineering Community
Create Post

Home Posts Topics Members FAQ

Regular expression for characters with the space

4 New Member
What is a good regular expression that will allow only characters with the space?
Apr 8 '10 #1
5 2782
tlhintoq
3,525 Recognized Expert Specialist
I want a pound of $100 bills in a brown paper bag to be mysteriously left at my doorstep.

Have you tried reading up on Regular Expressions and have you tried to code it?
Apr 8 '10 #2
Frinavale
9,735 Recognized Expert Moderator Expert
Here are a couple of resources that I use when working with regular expressions:

Please take the time to research and attempt the problem you are working before you post your question.

-Frinny
Apr 9 '10 #3
ruchichir
4 New Member
Execuse me............ MR...

We already tried it too much & only then we posted it.........
(Dont always over estimate yourselves & underestimate others).................
Apr 9 '10 #4
Frinavale
9,735 Recognized Expert Moderator Expert
Ruchichir,

Tlhintoq was not "underestimating" you. He was simply stating that you need to actually ask a question and show us what you've tried so far.

"I want xxx." Is not a question.
"How do I accomplish xxx?" Is a question.

You also may receive a response as Tlhintoq has posted because you haven't shown us any effort towards trying to solve the problem for yourself.

It is best, whenever asking a question on any forum (not just bytes), to format your question something like:
"I am having problems with xxx. I have tried yyy. How do I accomplish xxyy? Do you have any advise on the issue? Thank you for your time."

When we see what you've tried so far to solve the problem it shows us that you are actually putting an effort into solving the problem. This will be reciprocated with an effort to help you with your problem. If you don't show us what you have tried then it's unlikely that people are going to put an effort into helping you because it would mean that they would have to put more of an effort into solving your problem than you have yourself!

Also, by showing us what you have tried so far we can help you correct any errors that you are currently facing without trying to guess at: what you know, what you've tried, what you've done, what the errors are... etc.

Please post any regular expression that you have tried so far to solve the problem and we will be happy to help you from there.

And please check out those links because they are very resourceful.

-Frinny
Apr 9 '10 #5
tlhintoq
3,525 Recognized Expert Specialist
Have you tried reading up on Regular Expressions and have you tried to code it?
We already tried it too much & only then we posted it
That's terrific! Please post the code that came the closest for you and we will see if can help you clean it up. It's much easier to help someone that posts there code. That way we aren't trying to tech them *how* something works, just help them find their minor errors.
Apr 9 '10 #6

Sign in to post your reply or Sign up for a free account.

Similar topics

2
by: Oriana | last post by:
Hi! I'm trying to 'clean up' this source file using regular expressions in Python. My problem is, that when I try to delete extra lines, my code fails. Here's an example.... /** * *...
1
by: Kenneth McDonald | last post by:
I'm working on the 0.8 release of my 'rex' module, and would appreciate feedback, suggestions, and criticism as I work towards finalizing the API and feature sets. rex is a module intended to make...
4
by: James G. Braum | last post by:
Can someone tell me what this regular expression is matching? /\s*(+\*)|(+)|(* )|()\s*/
1
by: | last post by:
Hi, I have a Regular Expression that will match the format a user provides in a textbox. Ex. Brown,Joe in the textbox I would like the expression to have both whitespace and...
5
by: John | last post by:
I am new in Regular Expression. Could someone please help me in following expression? 1. the string cannot be empty 2. the string can only contains AlphaNumeric characters. No space or any...
6
by: Ludwig | last post by:
Hi, i'm using the regular expression \b\w to find the beginning of a word, in my C# application. If the word is 'public', for example, it works. However, if the word is '<public', it does not...
15
by: Mark Rae | last post by:
Hi, I'm trying to construct a RegEx pattern which will validate a string so that it can contain: only the numerical characters from 0 to 9 i.e. no decimal points, negative signs, exponentials...
7
by: graphicsxp | last post by:
Hi, I can't figure out what the regular expression would look like for validating a string such as : Lastname, Firstname I could only come up with /\w/ which doesn't check for the comma. ...
1
by: AAaron123 | last post by:
I found this on the Internet and tried a few of them and they worked in VS2008. Actually it was in a different form but I converted to make a smaller file. The data is the same as the original. ...
1
by: =?Utf-8?B?Sm9obg==?= | last post by:
How can I use regular expression to detect all the unprintable characters? Please help. Thanks.
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
1
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
1
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...
0
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The...
0
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated ...
0
muto222
php
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.