|
|
Browse by Tags
All Tags » java
Showing page 1 of 2 (17 total posts)
-
Hi All,
Programming language is java, ide is eclipse..
The String is:
Armagh 1-11 | Dublin 2-12
Firstly I want to get jus the "Armagh" string, the the "1", the the "11", then the "Dublin", then the "2", then the "12".
The strings will be subject to change so I ...
-
Hi,
first of all my experience with regex are very low. But now I have problem which seems to be suitable for handling with regular expressions. My problem is the following:
I have a string which can start with some tab characters (0-n times) followed by some spaces (0-n times) and then some other user data (beginning with a non space). I want ...
-
I have one regex in .net code to catch all the literals ( for Java ) .but it seems not to work in Java code to catch String -literals.Regex is
p.p1 {margin: 0.0px 0.0px 0.0px 0.0px; font: 11.0px Monaco}(""""|""[\s\S]*?[^\]"")It doesnt work in simple programs, or online testers or even my project.My ...
-
Hi All
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.
-
Hi ,
i am new to java regular expression.
Consider the follwoing paragraph :
The Internet is a global system of interconnected computer networks that use the standardized Internet Protocol Suite (TCP/IP) to serve billions of users worldwide. It is a network of networks that consists of millions of private and public, academic, business, and ...
-
hello all
i am playing with one regular expression using Java programming language (JDK 1.6) and i am unable to understand how (rather why!) it works.
here is my code
String text = "I am also known as John,PP)";
String pattern = "John([\\s\\u00A0)\\}\\]\"'-/\\\\.:;!'$?]|$)";
Matcher matcher = ...
-
Hi All,
I am using Jmeter tool to test a soap request in a thread group and parallely I have added JDBC query to verify the results. I am trying to automate the above mentioned process. I have added a Regular Expression Extractor to the soap request and I have added a Response Assertion to the JDBC request. Now I have the set the Regular ...
-
In a Java environment, I want to build one or more patterns that enable me to get two 'views' from the same piece of matched text. For example, if I have a numeric pattern like '1234', I want to build 'view-2' and 'view-4' versions of the match. 'view-2' would return '12' and ...
-
In a Java environment, how do I convert a pattern like 'ABC: 1230-00' to '1230'? The following pattern I believe will work to get '1230-00', but I can't figure out how to remove the '-00' part. Thanks.
Remove 'ABC:' part: (?<=ABC:?\s{0,2})\\d{2}00-00
1
|
|
|