Dave, I'm not sure I could be any clearer. If you looked at the image you would see exactly what happens when I insert the Regex
User 13540679
Posts
-
String Replacement in 'HTML 5 FireFox' -
String Replacement in 'HTML 5 FireFox'Hi Dave, Sorry for the delayed response The reason for wanting to show a screenshot is because I use application to insert the a Search and Replace regex. So I would enter [A-Za-z]{3}\d{4} in the Search dialogue box, and [A-Za-z]{3}(?=\d{4}) in the replace dialoge box. The search regex works fine, but the replace regex returns [A-Za-z]{3}(?=\d{4}) I'm assuming the the Regex pattern HTML 5 FireFox doesn't allow for replace?
-
String Replacement in 'HTML 5 FireFox'I dont understand. Did you see the screenshot? I simply cut-and-paste your regex I should point out the regex I originally sent was not generated by me - I simply got the regex using an application called RegexMagic. I am 100% new to Regex. This means, I really don't have a clue what you're referring to. Please help
-
String Replacement in 'HTML 5 FireFox'Hi, sorry for the delayed response. I wanted to show you a screenshot, because I'm not getting an error from the application I'm using. It's replacing the string with [A-Za-z]{3}(?=\d{4}) Let me know if you can see the screenshot from the link below? regmagic2.png - Google Drive[^]
-
String Replacement in 'HTML 5 FireFox'Is it possible to send an attachment on this forum I would like to send a screenshot to you.
-
String Replacement in 'HTML 5 FireFox'Hi Griff, Thanks for reaching out. Unfortunately, it didn't work. The replacement just returns [A-Za-z]{3}(?=\d{4})
-
String Replacement in 'HTML 5 FireFox'Hello Community, I have created Regex with Regex Magic with HTML 5 Firework, see attached. The Regex [A-Za-z]{3}\d{4} successfully finds a string such as GMK6954 using Character Spaces. Can someone help with modifying the Regex such that it replaces the first 3 letters with --- so the resulting Regex will generate the following 6954 Thanks
-
Case Conversion Regular Expression in JAVA 8Thanks man
-
Case Conversion Regular Expression in JAVA 8Hey Richard, I was so fixated with the way I wanted to achieve the result that I didn't realise how easy it is to get the result using your suggestion. TBH, with your suggestion I can get the result just using SQL, converting the entire string to lower case (as you suggested) and using a simple SQL function (which I'm familiar with) to Capitalize each word. I literally would have saved myself 9 hours of trying to figure this out. Thanks man
-
Case Conversion Regular Expression in JAVA 8Hi Community, I have come to the conclusion that it may not to be possible to change the case of a string in JAVA 8 as simply as it is to change the case in say Perl. However, before I move on, I just wanted to have someone on this forum confirm its not possible to change the case in JAVA 8 as follows: Insert the whole regex match or the 1st through 99th backreference with the first letter of each word in the matched text converted to uppercase and the remaining letters converted to lowercase. Example Replacing .+ with \I0 in HeLlO WoRlD yields Hello World Can someone confirm that the above isn't possible with JAVA 8? If its not possible, can someone let me know how to achieve the above with JAVA 8? Thanks
-
Regular Expression to Change Uppercase Text to LowercaseSo, this is my attempt I tried the following regex in Java 8, (?i)(Helló) (Wórld) which matches HeLlÓ WóRlD the replacement string \U$1 \L$2 should become HELLÓ wórld, but it doesn't work. Can someone please help me???
-
Regular Expression to Change Uppercase Text to LowercaseI'm never going to figure it out! Can I get some hints on a solution?
-
Regular Expression to Change Uppercase Text to Lowercaseok, I will think of something. I will post it. Hopefully, you'll let me know if I'm on the right track
-
Regular Expression to Change Uppercase Text to LowercaseHi Richard, Sorry to be pain, but could please provide an example
-
Regular Expression to Change Uppercase Text to LowercaseHi Richard, Thanks for reaching out. And thanks for the link. Unfortunately, I'm extremely new to Regex so unfortunately I wouldn't know where to look in the link String (Java Platform SE 7 )[^] I thought this was a pretty easy question for someone help with an answer to?
-
Regular Expression to Change Uppercase Text to LowercaseThanks getting in touch. I'm using Java 8 Are you able help?
-
Regular Expression to Change Uppercase Text to LowercaseHi, Thanks for reaching out. Sorry for not mentioning the language. The language is JAVA 8
-
Regular Expression to Change Uppercase Text to LowercaseCan someone assist with a regular expression that will replace and capitalize the first character in a text characters to lowercase For example PETER Before Peter After JohN Before John After paul Before Paul After The following Regex will locate the Uppercase characters [A-Z] But I don't know how to replace them by turning the first character to Uppercase. Thanks
-
A Regular Expression that will search and replace characters from a stringThis is fantastic. However, my platform uses javase and the following regex was able to pick out the strings without leading 0's e.g. 121 and 122. However, the regex "(9, '0')" doesn't replace 121, and 122 with 000000121 and 000000122. Nevertheless, this is great. \b[1-9]\d*\b
-
A Regular Expression that will search and replace characters from a stringHello Community, I'm trying to compile a regular expression that will search for strings that exclude certain characters. For example, the following string value has 6 leading 0's 000000120 The next string excludes the 0's 121 122 I would like a regular expression that can find strings without the leading 0's and then add the 0's to it. Therefore, 121, and 122 would become 000000121 and 000000122. Can you help with this? Thanks Carlton