codingbat « Development « Java Regex Q&A

Home
Java Regex Q&A
1.Development
2.find
3.group
4.Match
5.matcher
6.number
7.Operation
8.parse
9.Pattern
10.replace
11.validation
12.word
Java Regex Q&A » Development » codingbat 

1. codingbat wordEnds using regex    stackoverflow.com

I'm trying to solve wordEnds from codingbat.com using regex.

Given a string and a non-empty word string, return a string made of each char just before and just ...

2. codingBat repeatEnd using regex    stackoverflow.com

I'm trying to understand regex as much as I can, so I came up with this regex-based solution to codingbat.com repeatEnd:

Given a string and an int N, ...

3. codingBat plusOut using regex    stackoverflow.com

This is similar to my previous efforts (wordEnds and repeatEnd): as a mental exercise, I want to solve this toy problem using regex only. Description from codingbat.com:

...

4. codingBat separateThousands using regex (and unit testing how-to)    stackoverflow.com

This question is a combination of regex practice and unit testing practice.

Regex part

I authored this problem separateThousands for personal practice:
Given a number as a string, introduce commas ...

java2s.com  | Contact Us | Privacy Policy
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.