473,500 Members | 1,865 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Regular Expressions - text between quotes

I having a hard time with regular expressions, this is my first attempt at
using them.

I need to take a string which will have some text between quotes and return
the text between quotes or any other character for that matter. The text
will not always be the same length or in the same place in the string.

I'm not above looking through some tutorials etc. so if someone knows of a
good and simple (emphasize simple) tutorial or reference on VB.NET regular
expression I'd appreciate it. Kind of a teach the man to fish thing.

TIA
Fred
Nov 21 '05 #1
4 2235
Sorry we're doing this in VB6 not .NET

"Fred" <fb******@centralstatesmfg.com> wrote in message
news:%2****************@TK2MSFTNGP11.phx.gbl...
I having a hard time with regular expressions, this is my first attempt at
using them.

I need to take a string which will have some text between quotes and return the text between quotes or any other character for that matter. The text
will not always be the same length or in the same place in the string.

I'm not above looking through some tutorials etc. so if someone knows of a
good and simple (emphasize simple) tutorial or reference on VB.NET regular
expression I'd appreciate it. Kind of a teach the man to fish thing.

TIA
Fred

Nov 21 '05 #2
Sorry we're doing this in VB6 not .NET

"Fred" <fb******@centralstatesmfg.com> wrote in message
news:%2****************@TK2MSFTNGP11.phx.gbl...
I having a hard time with regular expressions, this is my first attempt at
using them.

I need to take a string which will have some text between quotes and return the text between quotes or any other character for that matter. The text
will not always be the same length or in the same place in the string.

I'm not above looking through some tutorials etc. so if someone knows of a
good and simple (emphasize simple) tutorial or reference on VB.NET regular
expression I'd appreciate it. Kind of a teach the man to fish thing.

TIA
Fred

Nov 21 '05 #3
I think you can do what you want to do.
Programming VB.net by Balena (Microsoft) is a good resource.

"Fred" wrote:
I having a hard time with regular expressions, this is my first attempt at
using them.

I need to take a string which will have some text between quotes and return
the text between quotes or any other character for that matter. The text
will not always be the same length or in the same place in the string.

I'm not above looking through some tutorials etc. so if someone knows of a
good and simple (emphasize simple) tutorial or reference on VB.NET regular
expression I'd appreciate it. Kind of a teach the man to fish thing.

TIA
Fred

Nov 21 '05 #4
I think you can do what you want to do.
Programming VB.net by Balena (Microsoft) is a good resource.

"Fred" wrote:
I having a hard time with regular expressions, this is my first attempt at
using them.

I need to take a string which will have some text between quotes and return
the text between quotes or any other character for that matter. The text
will not always be the same length or in the same place in the string.

I'm not above looking through some tutorials etc. so if someone knows of a
good and simple (emphasize simple) tutorial or reference on VB.NET regular
expression I'd appreciate it. Kind of a teach the man to fish thing.

TIA
Fred

Nov 21 '05 #5

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

4
1990
by: M Wells | last post by:
Hi All, I couldn't find a regular expressions group to ask this in, so I thought I'd ask here as I'm a little familiar with php's regular expressions syntax. I have a comma delimited text...
1
4155
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...
3
1611
by: Bryan | last post by:
Hi All: I'm trying to find the right Regexp string to remove empty SPAN tags from an HTML string. Say I have a string like so, and I want to remove the empty span tags: <span>This is my...
6
255
by: Craig Buchanan | last post by:
I have a string in the format "name" <address> that i would like to split into an array of two values. name should be the first value, address the second value. what does my regex pattern need to...
0
479
by: Fred | last post by:
I having a hard time with regular expressions, this is my first attempt at using them. I need to take a string which will have some text between quotes and return the text between quotes or any...
1
2260
by: passion_to_be_free | last post by:
I am writing a javascript that will make an http request, sort through the html for any links on the page, and then store them for future processing. To test things, I pasted html source code...
25
5128
by: Mike | last post by:
I have a regular expression (^(.+)(?=\s*).*\1 ) that results in matches. I would like to get what the actual regular expression is. In other words, when I apply ^(.+)(?=\s*).*\1 to " HEART...
12
2435
by: FAQEditor | last post by:
Anybody have any URL's to tutorials and/or references for Regular Expressions? The four I have so far are: http://docs.sun.com/source/816-6408-10/regexp.htm...
10
1655
by: Julien | last post by:
Hi, I'm fairly new in Python and I haven't used the regular expressions enough to be able to achieve what I want. I'd like to select terms in a string, so I can then do a search in my database....
1
6906
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...
0
7397
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
5490
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
1
4923
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
4611
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...
0
3110
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
3106
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
0
1430
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 ...
1
672
muto222
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.