|
-
July 24th, 2009, 12:44 PM
#1
Regex For String Input
This is sort of a general question, but it's with an application in C#.
I'm using grammatica to generate parsers and stuff, so I need a regex for strings with double quotes.
-
July 24th, 2009, 01:04 PM
#2
Re: Regex For String Input
Here is a good site for testing this stuff (though I would suggest shelling out the $60 for RegEx Buddy if you do this stuff a lot).
http://www.regexplanet.com/simple/index.jsp
-
July 24th, 2009, 01:04 PM
#3
Re: Regex For String Input
 Originally Posted by code?
This is sort of a general question, but it's with an application in C#.
I'm using grammatica to generate parsers and stuff, so I need a regex for strings with double quotes.
You can use double quotes in a regex but you need to write it in hex like \x20 for the space sign. So simple look for the hex of the doublequotes.
 Jonny Poet
To be Alive is depending on the willingsness to help others and also to permit others to help you. So lets be alive. !
Using Code Tags makes the difference: Code is easier to read, so its easier to help. Do it like this: [CODE] Put Your Code here [/code]
If anyone felt he has got help, show it in rating the post.
Also dont forget to set a post which is fully answered to 'resolved'. For more details look to FAQ's about Forum Usage. BTW I'm using Framework 3.5 and you ?
My latest articles :
Creating a Dockable Panel-Controlmanager Using C#, Part 1 | Part 2 | Part 3 | Part 4 | Part 5 | Part 6 | Part 7
-
July 25th, 2009, 02:11 PM
#4
Re: Regex For String Input
 Originally Posted by BigEd781
Thanks, and also I use Rad Regex Designer, it's free and it's awesome.
http://www.radsoftware.com.au/regexdesigner/
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|