Browse by Tags
Showing page 1 of 7 (66 total posts)
I am using below expression
and it is matching for string ...
Thanks for your quick reply
I tested this expression against --> LeadLag(100,101+102@103,104)
it is allowing number after first ',' and before '@'
i.e. 101 and 102
Our string only contains + or - and then @ after first ','
for e.g --> ',+@103' OR ',-@103'
I need regular expression to validate the text
The text might be in any of the below format
In place of 22,33 and 2 there might be any number
I do not know much about how to generate regular expression for the string as above.
Can anybody please help me ...
I am working on porting a code from .net to Java. and its highly using reg expressions.I dont know .net and i have to recognize the purpose and meaning
of regexs written to create same in java.
There is one regex in C# to prevent HTml tags :(?<!<[^>]*)
If anyone can help me find its equivalent in Java ,it would ...
I am working on some code development in Java from C#. There is a method that returns Regex class-type in C# and figured that its a system class in System.Text.RegularExpressions.
Not much idea about C#.
To simulate same thing in Java is there any Regex Class that represents a regular epxression.
I was hoping someone with far more experience with regular
expressions, particularly in .NET, could help me come up with a
pattern. I have a program that will be reading in sql files and
creating a deployment manifest based on the files. I need to match the
file names to first, validate that they match a predetermined pattern.
Then, extract ...
I am trying to build a regex to extract 0 or more matched strings from HTML-formatted input. I am developing on the .NET Framework 3.5 in C#. I have been using http://regexhero.net/tester/ to build my regex (and use the generated code to verify results). I am using the case-insensitive option.
The input will contain 0 or more entries ...
I have the following text:
"Descrição Geral: Perto de muitas atrações locais., Quartos baratos, Perto da área empresarial, Perto da zona histórica. Localização: Convenientemente localizado em Upper West Side Manhattan area ., A área comercial fica a poucos minutos. ...
I am not to fermilliar with Reg X and i am tring to remove all none Alpa/Numeric Chars while leaving white spaces. In c#
Here is my code.
string searchString = Regex.Replace(search.Text.Trim().ToLower(), @"[\W]", ...
I did not manage to find appropriate script for my need in this fantastic forum, so I hope someone could help me with this case.
(I believe this is quite trivial for one who really knows regex (I have just used some well known scripts in my code and not able quickly create this one).)
Here is information of what I have got so far ...