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....
/**
*
*...
|
by: David Elliott |
last post by:
I have an expression that works for single line but not multiline. What am I missing?
expression = "<div(?<data1>.*?)>(?<data2>.*?)</div>";
MatchCollection mc = Regex.Matches(data, expression,...
|
by: Dimitris Georgakopuolos |
last post by:
Hello,
I have a text file that I load up to a string. The text includes
certain expression like {firstName} or {userName} that I want to match
and then replace with a new expression. However,...
|
by: Gianluca |
last post by:
Hi,
I'm using regular expressions to extract some information from my
vb.net source code files.
I have something like this:
1: '<class name="xyz" description="xxxxxx"/>
2: Class xyz
......
|
by: Mark |
last post by:
To validate the length of a multiline textbox, I'm told that I have to use a
regular expression validator. The regular expression below limits it to 25
characters in length, but if the user enters...
|
by: norton |
last post by:
Hi All,
I am learning Regular Expression and currently i am trying to capture
information from web page.
I wrote the following code to capture the ID as well as the Title
Dim regex = New...
|
by: Grzegorz Danowski |
last post by:
Hi,
I'd like to read all lines of caption text from a string:
....
Name ="Paragraph"
Caption ="The quick brown fox jumps over the lazy dog.
The quick brown fox jumps over the lazy dog. "
"The...
|
by: Zdenek Maxa |
last post by:
Hi all,
I would like to perform regular expression replace (e.g. removing
everything from within tags in a XML file) with multiple-line pattern.
How can I do this?
where =...
|
by: wagswvu |
last post by:
I have created a regular expression to validate dates in MM/DD/YYYY, MM/YYYY, and YYYY. "((0|1)((0||3))?)?(19|20)\d\d" . How can I make this expression work with a multi-line textbox, so that a user...
|
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,...
|
by: Charles Arthur |
last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
|
by: aa123db |
last post by:
Variable and constants
Use var or let for variables and const fror constants.
Var foo ='bar';
Let foo ='bar';const baz ='bar';
Functions
function $name$ ($parameters$) {
}
...
|
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...
|
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
|
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...
|
by: nemocccc |
last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
|
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,...
|
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...
|