Could some tell how I could create a search replace Regular Express in .net
where is would
match
MY_STRING_TO_BE_CONVERTED
and replace with
MyStringToBeConverted
Thanks
Toby. 20 1731
Toby,
For that you do not need a regular expression.
MY_STRING_TO_BE_CONVERTED= MyStringToBeConverted
I think you mean something else can you make that more clear.
Cor
Sorry,
I mean more of the search and replace pattern. It could be any string. but
in the format
UPPERCASE_DELIMITED _STRING
coverted to
CapitalizedUndelimitedString.
Regards
Toby.
"Cor Ligthert" <no**********@planet.nl> wrote in message
news:OO**************@TK2MSFTNGP12.phx.gbl... Toby,
For that you do not need a regular expression.
MY_STRING_TO_BE_CONVERTED= MyStringToBeConverted
I think you mean something else can you make that more clear.
Cor
To use a Regular Expression to replace the text you are looking for might be
overkill. Why not just use the .Replace function or an assingment as Cor
suggested? In any sense, to use a regex you need to either make a reference
to the system.text.regularexpressions namespace and use one of the shared
functions (like regex.replace), create an instance of
system.text.regularexpressions.regex, or fully qualify one of the shared
functions.
Imports System.Text.RegularExpressions
'Where MyTextBoxControl.Text is your input source
MyTextBoxControl.text = Regex.Replace(MyTextBoxControl.text,
"MY_STRING_TO_BE_CONVERTED", "MyStringToBeConverted")
"Cor Ligthert" <no**********@planet.nl> wrote in message
news:OO**************@TK2MSFTNGP12.phx.gbl... Toby,
For that you do not need a regular expression.
MY_STRING_TO_BE_CONVERTED= MyStringToBeConverted
I think you mean something else can you make that more clear.
Cor
Check this site out to learn more on RegEx's http://www.regexlib.com/
"Toby" <to***********@exmlsystems.com> wrote in message
news:uO**************@TK2MSFTNGP10.phx.gbl... Sorry,
I mean more of the search and replace pattern. It could be any string. but in the format
UPPERCASE_DELIMITED _STRING
coverted to
CapitalizedUndelimitedString.
Regards
Toby.
"Cor Ligthert" <no**********@planet.nl> wrote in message news:OO**************@TK2MSFTNGP12.phx.gbl... Toby,
For that you do not need a regular expression.
MY_STRING_TO_BE_CONVERTED= MyStringToBeConverted
I think you mean something else can you make that more clear.
Cor
I'm afraid this is not possible: It's possible to match for the characters
you want to replace, but a RegEx can only replace with characters from the
match (which are in your case uppercase) or fixed characters (not what you
want either). There is no way to replace a character with the lowercase
version of the match. You could in theory build 26 different regex's (one
for each letter) and apply them one after an other...
Maybe you could use Regex.Match("[A-Z0-9_]+") to find the whole capitalized
identifiers, and do the actual manipulation in a for loop.
Niki
"Toby" <to***********@exmlsystems.com> wrote in
news:u6**************@TK2MSFTNGP10.phx.gbl... Could some tell how I could create a search replace Regular Express in
..net where is would
match
MY_STRING_TO_BE_CONVERTED
and replace with
MyStringToBeConverted
Thanks
Toby.
Sorry, that should of course be Regex.Match("\b[A-Z0-9_]+\b").
"Niki Estner" <ni*********@cube.net> wrote in
news:eJ******************@TK2MSFTNGP10.phx.gbl... I'm afraid this is not possible: It's possible to match for the characters you want to replace, but a RegEx can only replace with characters from the match (which are in your case uppercase) or fixed characters (not what you want either). There is no way to replace a character with the lowercase version of the match. You could in theory build 26 different regex's (one for each letter) and apply them one after an other... Maybe you could use Regex.Match("[A-Z0-9_]+") to find the whole
capitalized identifiers, and do the actual manipulation in a for loop.
Niki
"Toby" <to***********@exmlsystems.com> wrote in news:u6**************@TK2MSFTNGP10.phx.gbl... Could some tell how I could create a search replace Regular Express in .net where is would
match
MY_STRING_TO_BE_CONVERTED
and replace with
MyStringToBeConverted
Thanks
Toby.
Toby,
I do not like the regex, I find it complicated and thereby it is very slow.
You got an answer from Jared, however as alternative I give you this.
\\\
Dim myStr As String = "MY_STRING_TO_BE_CONVERTED"
Dim myArr() As String = myStr.Split("_"c)
For i As Integer = 0 To myArr.Length - 1
myArr(i) = StrConv(myArr(i), VbStrConv.ProperCase)
Next
MessageBox.Show(String.Join("", myArr))
///
With that I do not say you should not use the regex, however most situations
can be done with easier commands, which show more what you are doing in the
program.
That does not mean that I say you should not use them.
I hope this helps
Cor
"Cor Ligthert" <no**********@planet.nl> wrote in
news:ed**************@TK2MSFTNGP12.phx.gbl... Toby,
I do not like the regex, I find it complicated and thereby it is very
slow.
Actually it's pretty fast, especially if search and match string are long.
You got an answer from Jared, however as alternative I give you this.
\\\ Dim myStr As String = "MY_STRING_TO_BE_CONVERTED" Dim myArr() As String = myStr.Split("_"c) For i As Integer = 0 To myArr.Length - 1 myArr(i) = StrConv(myArr(i), VbStrConv.ProperCase) Next MessageBox.Show(String.Join("", myArr)) ///
This is probably the slowest alternative...
Use a StringBuilder if you want to do complex string maniplations.
With that I do not say you should not use the regex, however most
situations can be done with easier commands, which show more what you are doing in
the program.
Only for people who don't know regex's, that is...
Niki
Nicky, I do not like the regex, I find it complicated and thereby it is very
slow. Actually it's pretty fast, especially if search and match string are long.
True, I forgot to say ..........slow in non complex situations. (more than
100 times than a string replace which gives a little bit more performance
than the stringbuilder.replace).
This is probably the slowest alternative... Use a StringBuilder if you want to do complex string maniplations.
This is in my opinion not a complex string manipulation this is a very
simple array manipulation, so show an example where the stringbuilder is
faster in this sample?
Cor
Thanks for all you answers. My problem is i have a database schema which was
coded using field names and table names in uppercase and underscores and i
wanted a quick way to update the formatting so that the underscores are
removed and the fields / tables capitalized.
I then have the same problem in my stored procedures, business objects. &
datasets & Code. I was looking for a quick solution without writing any
code. But maybe i have to go down that route.
Thanks
Toby.
"Niki Estner" <ni*********@cube.net> wrote in message
news:ef**************@TK2MSFTNGP09.phx.gbl... Sorry, that should of course be Regex.Match("\b[A-Z0-9_]+\b").
"Niki Estner" <ni*********@cube.net> wrote in news:eJ******************@TK2MSFTNGP10.phx.gbl... I'm afraid this is not possible: It's possible to match for the
characters you want to replace, but a RegEx can only replace with characters from
the match (which are in your case uppercase) or fixed characters (not what
you want either). There is no way to replace a character with the lowercase version of the match. You could in theory build 26 different regex's
(one for each letter) and apply them one after an other... Maybe you could use Regex.Match("[A-Z0-9_]+") to find the whole capitalized identifiers, and do the actual manipulation in a for loop.
Niki
"Toby" <to***********@exmlsystems.com> wrote in news:u6**************@TK2MSFTNGP10.phx.gbl... Could some tell how I could create a search replace Regular Express in .net where is would
match
MY_STRING_TO_BE_CONVERTED
and replace with
MyStringToBeConverted
Thanks
Toby.
<flame on>
Honestly, Niki,
The world isn't made up of just two kinds of people:
people who do things your way, and people who are wrong.
Cor's solution was simple and easy to follow. It works just fine for the
specific purpose, and it far easier to debug than a regular expression,
which is difficult for most folks to compose (to the point where there's a
number of non-trivial tools running around to allow folks to debug their
regular expressions).
On technical points, you are right. However, your tone is condescending and
your contribution to the thread did not add any useful content. If you feel
that regular expressions are so powerful, how come Cor was able to whip up a
code example in the two minutes it took him to answer the post, but you
didn't whip up a regex example to show how much faster and cooler regex is?
I'll venture a guess to my own question: Perhaps this is because Cor's
example is so much simpler than a regex, which would require embedded
expressions, would be fairly difficult for a novice to code, and nearly
impossible to explain in a newsgroup post.
At least Cor answered the question.
<flame off>
Respectfully and in the spirit of constructive criticism,
--- Nick Malik
Application Architect
"Niki Estner" <ni*********@cube.net> wrote in message
news:eu**************@TK2MSFTNGP09.phx.gbl... "Cor Ligthert" <no**********@planet.nl> wrote in news:ed**************@TK2MSFTNGP12.phx.gbl... Toby,
I do not like the regex, I find it complicated and thereby it is very slow.
Actually it's pretty fast, especially if search and match string are long.
You got an answer from Jared, however as alternative I give you this.
\\\ Dim myStr As String = "MY_STRING_TO_BE_CONVERTED" Dim myArr() As String = myStr.Split("_"c) For i As Integer = 0 To myArr.Length - 1 myArr(i) = StrConv(myArr(i), VbStrConv.ProperCase) Next MessageBox.Show(String.Join("", myArr)) ///
This is probably the slowest alternative... Use a StringBuilder if you want to do complex string maniplations.
With that I do not say you should not use the regex, however most situations can be done with easier commands, which show more what you are doing in the program.
Only for people who don't know regex's, that is...
Niki
"Cor Ligthert" <no**********@planet.nl> wrote in
news:OW*************@TK2MSFTNGP09.phx.gbl... ... This is in my opinion not a complex string manipulation this is a very simple array manipulation, so show an example where the stringbuilder is faster in this sample?
Your main argument against regex's was that they're complex and slow: Using
String.Split is nice, but it's known to be slow. And Functions like StrConv
are nice too, but they are complex.
This should show the time difference:
Module Module1
Sub Main()
Dim d0 As DateTime, d1 As DateTime, d2 As DateTime
d0 = DateTime.Now
For i As Integer = 0 To 100000
Test1()
Next
d1 = DateTime.Now
For i As Integer = 0 To 100000
Test2()
Next
d2 = DateTime.Now
Console.WriteLine("Using String.Split: {0}", New TimeSpan(d1.Ticks -
d0.Ticks))
Console.WriteLine("Using StringBuilder: {0}", New
TimeSpan(d2.Ticks - d1.Ticks))
End Sub
Function Test1() As String
Dim myStr As String = "MY_STRING_TO_BE_CONVERTED"
Dim myArr() As String = myStr.Split("_"c)
For i As Integer = 0 To myArr.Length - 1
myArr(i) = StrConv(myArr(i), VbStrConv.ProperCase)
Next
Test1 = String.Join("", myArr)
End Function
Function Test2() As String
Dim myStr As String = "MY_STRING_TO_BE_CONVERTED"
Dim builder As New System.Text.StringBuilder
Dim nextCharLower As Boolean = False
For i As Integer = 0 To myStr.Length - 1
If myStr.Chars(i) = "_"c Then
nextCharLower = False
Else
If nextCharLower Then
builder.Append(Char.ToLower(myStr.Chars(i)))
Else : builder.Append(myStr.Chars(i))
End If
nextCharLower = True
End If
Next
Test2 = builder.ToString
End Function
End Module
Sorry if the code's not that pretty. VB isn't my "mother language".
Niki
<flaming reply>
The point is that the OP specifically asked if his problem could be solved
using regular expressions. Do you really assume he doesn't know how to do it
in plain C#/VB? Honestly, coding a for loop over a string is a quite common
task, I don't think the OP has to ask an newsgroup how to do that.
So, no I don't think Cor answered the question. I think he showed a personal
oppinon (that he doesn't like regex's). And I chose to comment on that
oppinion.
For the "technical information" part: you probably didn't read my other
post, so I ignore that.
<flame off>
Criticism acknowledged, I'll try to change my tone in the future.
Or put it into "flame"-tags ;-)
Niki
"Nick Malik" <ni*******@hotmail.nospam.com> wrote in
news:IUoUc.268374$a24.253215@attbi_s03... <flame on> Honestly, Niki, The world isn't made up of just two kinds of people: people who do things your way, and people who are wrong.
Cor's solution was simple and easy to follow. It works just fine for the specific purpose, and it far easier to debug than a regular expression, which is difficult for most folks to compose (to the point where there's a number of non-trivial tools running around to allow folks to debug their regular expressions).
On technical points, you are right. However, your tone is condescending
and your contribution to the thread did not add any useful content. If you
feel that regular expressions are so powerful, how come Cor was able to whip up
a code example in the two minutes it took him to answer the post, but you didn't whip up a regex example to show how much faster and cooler regex
is? I'll venture a guess to my own question: Perhaps this is because Cor's example is so much simpler than a regex, which would require embedded expressions, would be fairly difficult for a novice to code, and nearly impossible to explain in a newsgroup post.
At least Cor answered the question. <flame off>
Respectfully and in the spirit of constructive criticism, --- Nick Malik Application Architect
"Niki Estner" <ni*********@cube.net> wrote in message news:eu**************@TK2MSFTNGP09.phx.gbl... "Cor Ligthert" <no**********@planet.nl> wrote in news:ed**************@TK2MSFTNGP12.phx.gbl... Toby,
I do not like the regex, I find it complicated and thereby it is very slow.
Actually it's pretty fast, especially if search and match string are
long. You got an answer from Jared, however as alternative I give you this.
\\\ Dim myStr As String = "MY_STRING_TO_BE_CONVERTED" Dim myArr() As String = myStr.Split("_"c) For i As Integer = 0 To myArr.Length - 1 myArr(i) = StrConv(myArr(i), VbStrConv.ProperCase) Next MessageBox.Show(String.Join("", myArr)) ///
This is probably the slowest alternative... Use a StringBuilder if you want to do complex string maniplations.
With that I do not say you should not use the regex, however most situations can be done with easier commands, which show more what you are doing
in the program.
Only for people who don't know regex's, that is...
Niki
Nick,
Thanks, however the answer from Niki is technical not right, we did more
tests in the dotnet.language.vb newsgroup. Everytime with the regex
involved. In simple operations the regex is extremly slow. (Not as slow as
the split I showed in situations with very large documents, however because
I needed that StrConv and the elemintation of the "_" I did it this way).
The fastest way to do a simple replace is with the string.replace (was as
well to my suprise however it is logical, internal there is no need to use
an immutable string in a replace operation, so you even miss the overhead
from the stringbuilder).
When it becomes however to very much instructions to do a replace than I
think that the througput from the regex will be better. As long as I did not
test that, I take for that 100 instructions because that is what I saw as
what the regex is at least slower.
Cor
Niki,
You are right, your procedure is with 100.000 loops on my computer 3 seconds
faster than what I did build.
However I was expecting that you would make a routine with replace not a
routine with a char for char loop.
In that case I have added as test3 a routine which is twice as fast as
yours, by not using the stringbuilder. I hope you do not mind that I did not
optimize it, and I can assure you that I will never use it in real practise.
I also changed the way to test the ticks, just to make it easy, maybe you
can use that as well. (Your own choise).
Maybe you can now as fourth test show it with Regex.
Cor
\\\
Module Module1
Sub Main()
Dim d0 As Integer = environment.TickCount
For i As Integer = 0 To 100000
Test1()
Next
Console.WriteLine("Using String.Split: {0}", _
Environment.TickCount - d0)
d0 = Environment.TickCount
For i As Integer = 0 To 100000
Test2()
Next
Console.WriteLine("Using StringBuilder: {0}", _
Environment.TickCount - d0)
d0 = Environment.TickCount
For i As Integer = 0 To 100000
Test3()
Next
Console.WriteLine("Using Encoding: {0}", _
Environment.TickCount - d0)
End Sub
Function Test1() As String
Dim myStr As String = "MY_STRING_TO_BE_CONVERTED"
Dim myArr() As String = myStr.Split("_"c)
For i As Integer = 0 To myArr.Length - 1
myArr(i) = StrConv(myArr(i), VbStrConv.ProperCase)
Next
Test1 = String.Join("", myArr)
End Function
Function Test2() As String
Dim myStr As String = "MY_STRING_TO_BE_CONVERTED"
Dim builder As New System.Text.StringBuilder
Dim nextCharLower As Boolean = False
For i As Integer = 0 To myStr.Length - 1
If myStr.Chars(i) = "_"c Then
nextCharLower = False
Else
If nextCharLower Then
builder.Append(Char.ToLower(myStr.Chars(i)))
Else
builder.Append(myStr.Chars(i))
End If
nextCharLower = True
End If
Next
Test2 = builder.ToString
End Function
Function Test3() As String
Dim myCoder As System.Text.Encoding = System.Text.Encoding.ASCII
Dim nextCharLower As Boolean = False
Dim se As System.Text.Encoding
Dim myStr() As Byte = myCoder.GetBytes("MY_STRING_TO_BE_CONVERTED")
Dim myStrOut(myStr.Length) As Byte
Dim y As Integer = 0
For i As Integer = 0 To myStr.Length - 1
If nextCharLower = False Then
myStrOut(y) = myStr(i)
Else
myStrOut(y) = myStr(i) + CByte(32)
End If
If myStr(i) = 95 Then
nextCharLower = False
Else
nextCharLower = True
y += 1
End If
Next
Test3 = myCoder.GetChars(myStrOut)
Test3 = Test3.Substring(0, y)
End Function
End Module
///
Hi Cor,
If you take a look at your code (or at mine, that doesn't matter much) you
should see my point: This code *isn't* simple. If you wouldn't know what it
does, or what it's input looks like, it would take pretty long to figure out
what it does. (It surely would take long for me) Regex's do provide a good
balance of clarity vs. performance.
And, to your last algorithm: It's faster, but it doesn't do the same thing
as the other two. It can only handle characters in the A-Z range, no French,
German, Cyrillic characters. Both of the original algorithms would have
treated these correctly, and that's the main reason for the speed
difference.
Niki
"Cor Ligthert" <no**********@planet.nl> wrote in
news:%2****************@TK2MSFTNGP11.phx.gbl... Niki,
You are right, your procedure is with 100.000 loops on my computer 3
seconds faster than what I did build.
However I was expecting that you would make a routine with replace not a routine with a char for char loop.
In that case I have added as test3 a routine which is twice as fast as yours, by not using the stringbuilder. I hope you do not mind that I did
not optimize it, and I can assure you that I will never use it in real
practise. I also changed the way to test the ticks, just to make it easy, maybe you can use that as well. (Your own choise).
Maybe you can now as fourth test show it with Regex.
Cor
\\\ Module Module1 Sub Main() Dim d0 As Integer = environment.TickCount For i As Integer = 0 To 100000 Test1() Next Console.WriteLine("Using String.Split: {0}", _ Environment.TickCount - d0) d0 = Environment.TickCount For i As Integer = 0 To 100000 Test2() Next Console.WriteLine("Using StringBuilder: {0}", _ Environment.TickCount - d0) d0 = Environment.TickCount For i As Integer = 0 To 100000 Test3() Next Console.WriteLine("Using Encoding: {0}", _ Environment.TickCount - d0) End Sub
Function Test1() As String Dim myStr As String = "MY_STRING_TO_BE_CONVERTED" Dim myArr() As String = myStr.Split("_"c) For i As Integer = 0 To myArr.Length - 1 myArr(i) = StrConv(myArr(i), VbStrConv.ProperCase) Next Test1 = String.Join("", myArr) End Function
Function Test2() As String Dim myStr As String = "MY_STRING_TO_BE_CONVERTED" Dim builder As New System.Text.StringBuilder Dim nextCharLower As Boolean = False For i As Integer = 0 To myStr.Length - 1 If myStr.Chars(i) = "_"c Then nextCharLower = False Else If nextCharLower Then builder.Append(Char.ToLower(myStr.Chars(i))) Else builder.Append(myStr.Chars(i)) End If nextCharLower = True End If Next Test2 = builder.ToString End Function Function Test3() As String Dim myCoder As System.Text.Encoding = System.Text.Encoding.ASCII Dim nextCharLower As Boolean = False Dim se As System.Text.Encoding Dim myStr() As Byte =
myCoder.GetBytes("MY_STRING_TO_BE_CONVERTED") Dim myStrOut(myStr.Length) As Byte Dim y As Integer = 0 For i As Integer = 0 To myStr.Length - 1 If nextCharLower = False Then myStrOut(y) = myStr(i) Else myStrOut(y) = myStr(i) + CByte(32) End If If myStr(i) = 95 Then nextCharLower = False Else nextCharLower = True y += 1 End If Next Test3 = myCoder.GetChars(myStrOut) Test3 = Test3.Substring(0, y) End Function End Module ///
Niki,
I was expecting this answer and do not disagree with that, therefore was the
syntax that I never would use it.
Yesterday I could help someone who had a problem and asked for a Regular
expresion or other solution. I could help him with 4 rows of code.
The purpose of my sample was only to show that you should not directly do
everything using the the regex. Take it when it is needed and not for those
simple problems as now is asked, that was the only purpose of my answer
because the rest was already answered by Jared.
Cor
"Cor Ligthert" <no**********@planet.nl> wrote in
news:%2****************@tk2msftngp13.phx.gbl... ... Yesterday I could help someone who had a problem and asked for a Regular expresion or other solution. I could help him with 4 rows of code.
Applying a regex usually takes only one line of code ;-)
The purpose of my sample was only to show that you should not directly do everything using the the regex. Take it when it is needed and not for
those simple problems as now is asked, that was the only purpose of my answer because the rest was already answered by Jared.
Well, in this case the OP explicitly asked for a regex. Telling him that his
problem can be solved without a regex is both obvious and (IMO) a bit
offensive: It's as if I asked you for driving lessons and you told me I
should rather walk, because driving a car is so complex.
Just curious: If I understood the OP, he wants to find names in uppercase
and underscores. How would you match for those? IMO that's a perfect
application for a regex, although it's a rather simple problem.
Niki
Niki, Applying a regex usually takes only one line of code ;-)
That can in C# as well and some people find that more readable. (I don't)
:-)
I make this EOT, I hope you do not mind?
Cor
I have struggled with the issue of wether or not to useRegular
expression thing for a long time. And after implementing many text
manipulating solutions both ways, I've found that writeing spicialized
code instead of an RE is almost always the better solution. Here is
why....
RE's are complex. Sure it is one line of code, but is is on hell of a
line. Some of my RE remind me of the obfuscated code contest winners,
where one line of cryptic characters generates the 12 days of
christmas. After you have worked out the complex RE it is almost
immpossible for anyone(includeing yourself) to figure out what it is
really doing. Less code in not necessarily simple code. Plus it is not
like writing this "one line" of code is saving you any time. I have
had really complex RE's that took me hours to write that I needed
external tools to help me with. Sure it was only one line of code in
the end, but I could have written a page of easy to follow code in
half the time. Which brings me to my next point.
RE's are not debugable. If I have a page of well written code I (or
anyone else) can easily step through it. When I send my 150 char RE
into the RE engine it is a black box. I am just left to wonder why it
didn't work.
Now I am sure you RE masters are out the just calling me a
Dumb***,Just learn RE better and you won't have any problems. But the
reality is that I can assume that anybody looking at my is proficient
in C++, because it is a C+++ Program, I can't assume that they are a
RE Guru.
It's difficult to do some things in RE. RE's work great for some
searchsbut not so well for others. I usually find myself having to get
a bunch of results back then doing some other processing on them get
get the text out, which mean special code anyways.
Finally I don't know what you guy are saying about RE ever being fast.
In my experience RE's are slow, very slow. Like on the order of 10
times slower then straight forward string parsing code. For me this is
the final kicker. Orginally I went through all the trouble off using
RE's in all my complex text paring code because I thought it would
faster. This could be a result of .NET engine, regradless I was
really dissapointed by this causing me to rollback a lot of my
solutions.
With all this said I stil use REs sometimes, but only for really
simple string operations where I can come up with the expression in a
couple of seconds I don't care about performance and don't feel like
writeing 5-10 lines of code. Kind of like a quick hack.
Thats my 2 bits.
Thomas This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics
by: Jamie Pittman via AccessMonster.com |
last post by:
I am having trouble bellow wit this query. I have the total regular hours and the overtime. The problem is that if it is 8 hours and under, I need...
|
by: Toby |
last post by:
Could some tell how I could create a search replace Regular Express in .net
where is would
match
MY_STRING_TO_BE_CONVERTED
and replace with...
|
by: pmclinn |
last post by:
I'm trying to understand how to parse text that contains line breaks.
Below I have some html code that I'm trying to parse using a regular...
|
by: Billa |
last post by:
Hi,
I am replaceing a big string using different regular expressions (see
some example at the end of the message). The problem is whenever I
apply...
|
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...
|
by: Teja |
last post by:
HI all,
I need to write a regular experssion for a string which satisfies the
following a criteria :
1) it should start with an alphabet
2)...
|
by: better678 |
last post by:
Question:
Discuss your understanding of the Java platform. Is the statement "Java is interpreted" correct?
Answer:
Java is an object-oriented...
|
by: teenabhardwaj |
last post by:
How would one discover a valid source for learning news, comfort, and help for engineering designs? Covering through piles of books takes a lot of...
|
by: Naresh1 |
last post by:
What is WebLogic Admin Training?
WebLogic Admin Training is a specialized program designed to equip individuals with the skills and knowledge...
|
by: antdb |
last post by:
Ⅰ. Advantage of AntDB: hyper-convergence + streaming processing engine
In the overall architecture, a new "hyper-convergence" concept was...
|
by: Matthew3360 |
last post by:
Hi there. I have been struggling to find out how to use a variable as my location in my header redirect function.
Here is my code.
...
|
by: Matthew3360 |
last post by:
Hi, I have a python app that i want to be able to get variables from a php page on my webserver. My python app is on my computer. How would I make it...
|
by: Arjunsri |
last post by:
I have a Redshift database that I need to use as an import data source. I have configured the DSN connection using the server, port, database, and...
|
by: Oralloy |
last post by:
Hello Folks,
I am trying to hook up a CPU which I designed using SystemC to I/O pins on an FPGA.
My problem (spelled failure) is with the...
|
by: Carina712 |
last post by:
Setting background colors for Excel documents can help to improve the visual appeal of the document and make it easier to read and understand....
| |