home
I have names like "John Connele MCA MD" and "John O'Connele" and I used this regex...
I'm trying to make a function which replaces specific strings within a set of code according to a...
Is it possible to ignore delimiters when using regex expressions and the Java String.replaceAll()...
Hi I am trying to use the replaceAll() method to replace a everthing on a string except a a string...
This question already has an answer here: Javascript Remove strings in...
I need to parse some text, I am doing this using a Regex expression within the replaceAll() method....
i have just started writing a (guess letters game) as an assignment .. in java (the first player ...
I have the string 'WordsofWisdom' and if I apply this: replaceAll("([^_])([A-Z])", "$1 $2") it...
I have this String: String a = [MercadosArmados.GpoMerc-CTN3].[Mercado Marketing SNC].[Mk...
I am trying to run below mentioned code in JDK 1.3 and giving error as JDK1.3 does not support...
My json file contains white space such as 1522663136Vehicle and Bike Procurement Notice 1.PDF. In...
I need to write chess programm that uses FEN as an argument for creating a chess board. To simplyfy...
I have the following SQL string defined as a StringBuilder and want to replace all the ? with their...
I can replace dollar signs by using Matcher.quoteReplacement. I can replace words by adding...
This question already has an answer here: String.replaceAll single...
This question already has an answer here: What special characters must...
I am trying to read a line of text and remove everything besides periods and numbers through 0 -...
Disclaimer: I am not a tech guy, and my chosen profession is law. I know just enough to help my...
Below is my JSON ["[0288144111, Please check File Values:==>For input string: "N/A",...
I have been trying to solve this problem for a while now, I am using .replaceAll to remove any...
It's easy to replace spaces with (say) underscores: y = x.replace(/ /g, '_'); It's also easy to...
I have a string that contains the following: "Hello my name is (0.9%) and (15%) bye (10.5%) also...
public class test { public static void main(String[]args) { String test1 =...
I have a JSON from my web server that I obtain from a XMLHttpRequest. The data has the following...
4 months ago

replaceAll and loops?

My Computer Science class assignment requires that I write a program which determines if a word or...
Question I have this: var questionExample0 = "Hi <name>, how are you doing? Well...
Yesterday I was working on customized letters and memos. And I have made mapping keywords, like:...
I have this string: $string = '[userid=77] has created a new task. [userid=59] and [userid=66] is...
I'm trying to remove all instances of "</div><div class="product-list_row">" and...
I am new to Java and have been reading Java docs and other threads (1 ,2) but couldn't make it...