473,387 Members | 1,779 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,387 software developers and data experts.

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 2232
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
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
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
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
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
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
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
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
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
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....
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
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
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,...

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.