I have the following function:
String transform(String input) {
Pattern pattern = Pattern.compile("(\d+) (Jan|Feb|Mar) (\d\d\d\d)");
Matcher matcher = pattern.matcher(input);
retu...
http://www.experts-exchange.com/Programming/Languages/Regular_Expressions/Q_22749877.html
Hi,
Can anyone of you help me with a regular expression which will not allow certain special characters like ~`@#$ . All others (like all alphanumerics and Chinese and any other language chara...
http://www.experts-exchange.com/Programming/Languages/Regular_Expressions/Q_23196254.html
I want to filter valid names, if it matters I write in Java. Valid names should:
1. include alpha numeric
2. can also include '-' '_' '@' '#' '%' '^' '+' ':' ')' '(' ','
3. '_' canno...
http://www.experts-exchange.com/Programming/Languages/Regular_Expressions/Q_23207269.html
Hi,
I need help with a regular expression. Im doing it in Java 1.4 on Solaris platform..
I'm having a program that returns an output string and I want to asser whether this output string meet...
http://www.experts-exchange.com/Programming/Languages/Java/Q_21703740.html
Zones:
Java,
RubyDate Answered: 01/20/2006 Grade: A Views: 0
Hello - I need to do some server-side and client-side validations using regular expressions. Below I have listed the client-side Javascript code which is working fine, but I can't seem to get the ...
http://www.experts-exchange.com/Programming/Languages/Java/Q_21803961.html
Zones:
JavaDate Answered: 04/06/2006 Grade: A Views: 0
I am creating a java extractor that pulls a specific keyword from html source...unfortunately the word(s) I am trying to extract are not surrounded by unique tags, below is a sample of the source. ...
http://www.experts-exchange.com/Programming/Languages/Regular_Expressions/Q_22873246.html
I ve a requirement in which I ve to restrict the users not to enter any 16 digit number in the text area provided. The value entered in the text area will be in a String .
I am using regEx to capt...
http://www.experts-exchange.com/Programming/Languages/Java/Q_23316991.html
In order to change the minimum font size in HTML to be 3, for a string such as:
Font face="Times New Roman" size=1
it would be helpful to be able use two substrings:
Font face=\"[A-Z...
http://www.experts-exchange.com/Programming/Languages/Java/Q_22064331.html
Zones:
JavaDate Answered: 11/17/2006 Grade: A Views: 0
Hi,
Can anyone help me with this problem:
How can I split CSV file in Java (into separate columns), using built-in regex functions (for efficiency), but ignore everything in double quotes? S...
http://www.experts-exchange.com/Programming/Languages/Regular_Expressions/Q_23810376.html