is there a way to replace a certain sequence of characters by line feed
(vbCrLf ), for all text columns in a table, using Search+Replace?
-Michael 2 5528
"Michael Peters" <mp@michaelpete rs.de> wrote in message
news:dq******** *****@news.t-online.com... is there a way to replace a certain sequence of characters by line feed (vbCrLf ), for all text columns in a table, using Search+Replace?
-Michael
No, you would have to write the code yourself, or manually carry out update
queries on the text fields. The update queries would look something like
that below:
UPDATE MyTable SET MyTable.MyField =
Replace([MyField],"<NewLine>",Ch r$(13) & Chr$(10),1,-1,1)
WHERE InStr(1,[MyField],"<NewLine>",1) >0
> The update queries would look something like that below
thanks Anthony, looks good, I'll try that.
-Michael This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics |
by: Vamsee Krishna Gomatam |
last post by:
Hello,
I'm having some problems understanding Regexps in Python. I want
to replace "<google>PHRASE</google>" with
"<a href=http://www.google.com/search?q=PHRASE>PHRASE</a>" in a block of
text. How can I achieve this in Python? Sorry for the naive question but
the documentation is really bad :-(
Regards,
GVK
|
by: Kostya Altuhov |
last post by:
It is really a pain to use a completely different syntax each time I
want to do a search or replace using regular expressions in VS IDE.
Why don't you support the normal regex syntax, i.e. the one used by
..net Regex class (and virtually by everything else), in VS IDE for
search and replace?
|
by: Jane Doe |
last post by:
Hi,
I need to search and replace patterns in web pages, but I
can't find a way even after reading the ad hoc chapter in New Rider's
"Inside JavaScript".
Here's what I want to do:
function filter() {
var items = new Array("John", "Jane");
|
by: SeaPlusPlus |
last post by:
I want to convert large files of prose to xhtml and so I need a way to
remove unwanted line wraps. So, I'm looking for a freebee editor that
has the capability of searching for a single "carriage return/line feed"
or "line feed/carriage return" and removing them. I quess what I need is
an editor that allows non-printable characters in it's search strings.
Does anyone know of on that will allow this?
Thank you...
|
by: Mike Chan |
last post by:
Can I make the program when user press "Enter" which will act as "Tab" go to
next control?
| |
by: lucky |
last post by:
hi there!!
i'm looking for a code snipett wich help me to search some words into a
particular string and replace with a perticular word. i got a huge data
string in which searching traditional way mean to secrife lots of time
in asp.net. can any one give me such a expression in which i pass a
data string and search word string and replace word string? if so plz
help me out. i'm in badly need.
|
by: DarkBlue |
last post by:
Hello
I need some help
I have a text file which changes dynamically and has
200-1800 lines. I need to replace a line , this line
can be located via a text marker like :
somelines
# THIS IS MY MARKER
|
by: Noozer |
last post by:
Writing some ASP code and I need to take a string, representing a phone
number, and strip out some characters, namely spaces, brackets and hyphens.
I could write
pNum=replace(pNum," ","")
pNum=replace(pNum,"-","")
pNum=replace(pNum,"(","")
pNum=replace(pNum,")","")
|
by: pcplayer |
last post by:
I am trying to create a regular expression that will search a memo and replace all values that are between "" brackets. Example:
static void Main()
{
string text = @"This is a memo for: . From: . This is inregards to \n"
+ " on .";
string pattern = "I NEED THIS INFORMTION";
MatchCollection matches = Regex.Matches(text, pattern,
RegexOptions.IgnoreCase);
...
|
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, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look !
Part I. Meaning of...
|
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 effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it.
First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
| |
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, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed.
This is as boiled down as I can make it.
Here is my compilation command:
g++-12 -std=c++20 -Wnarrowing bit_field.cpp
Here is the code in...
|
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 protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
|
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, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own....
Now, this would greatly impact the work of software developers. The idea...
|
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 last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols.
I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
|
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 we have to send another system
|
by: muto222 |
last post by:
How can i add a mobile payment intergratation into php mysql website.
| |
by: bsmnconsultancy |
last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...
| |